Skype for Business Online admins can't use the “Set-CsUser” cmdlet in Skype for Business Online Remote PowerShell

Applies to: Skype for Business Online

PROBLEM


When you try to use the Set-CsUser cmdlet to change a user or group of users in Skype for Business Online (formerly Lync Online), you receive the following error message:
Unable to set “SipAddress”. This parameter is restricted within Remote Tenant PowerShell.

Note Depending on the task that you're trying to perform, the parameter may be different. However, the error message will always resemble the message that's shown in this section.

SOLUTION


AudioVideoDisabled is the only parameter that you can use together with the Set-CsUser cmdlet in Skype for Business Online. Depending on what you were trying to do, you may be able to complete the same task by using other available cmdlets.

MORE INFORMATION


The Set-CsUser cmdlet is included in the set of cmdlets that are available to Skype for Business Online administrators. However, you can't currently use the Set-CsUser cmdlet to manage Skype for Business Online. The only exception is that you can use this cmdlet to set the AudioVideoDisabled parameter. This is by design.

For more information about how to perform various administrative tasks by using Skype for Business Online Remote PowerShell, go to the following Microsoft TechNet articles:

Still need help? Go to Microsoft Community.