We are trying to set up a script to add user into skype. One of the settings we need is msRTCSIP-UserRoutingGroupId. Here is the command we are trying to use the rest of the script works when we don’t run this line.
Set-ADUser -identity $user -Add @{‘msRTCSIP-UserRoutingGroupId’=‘<HEX>’;}
This is the error message we get.
Set-ADUser : A value for the attribute was not in the acceptable range of values
At line:1 char:1
- Set-ADUser -identity $user -Add @{‘msRTCSIP-UserRoutingGroupId’='42 9 …
-
- CategoryInfo : NotSpecified: (jack.yorgesen:ADUser) [Set-ADUser], ADException
- FullyQualifiedErrorId : ActiveDirectoryServer:8322,Microsoft.ActiveDirectory.Management.Commands.SetADUser
Any ideas on why this won’t work would be appreciated