AD spoke v2 : Add User to Distribution Group - Issue with spaces in name

Stef Kopczyk
Tera Contributor

HI There ,

 

I seem to have run into an issue with adding users to groups whose names contain spaces.

Just wondering if anyone has come across this and how they worked around it.

 

I realise it's not best practice to have names set this way and that renaming them would likely

be my best option. I have also tested successfully with groups that do not contain spaces.

 

Cheers

Stef

2 REPLIES 2

Swapna Abburi
Mega Sage
Mega Sage

Hi @Stef Kopczyk 

Please try passing the group name with single quotes and see if it works. 

Thanks Swapna. In the end I needed to use the compatible pre-Windows 2000 name listed in the AD attribute.

Incidentally , the name of the group in the sys_user_group table reflected this group name. I wish I had checked that first 😉