Topic Last Modified: 2013-07-05

To use Windows PowerShell in order to manage Lync Online, the EnableRemotePowerShellAccess property of your tenant Windows PowerShell policy must be set to True. If it is not, your connection will fail, and you'll receive the following error message:

Copy Code
New-PSSession : [admin.vdomain.com] Processing data from remote server admin.vdomain.com failed with the following error message: The ability to connect to this tenant by using a remote PowerShell session has been disabled. Please contact Lync Help to check Tenant Powershell Policy of this tenant. For more information, see the about_Remote_Troubleshooting Help topic.

If you see this error message, you'll need to contact Office 365 Support and get remote Windows PowerShell access enabled.

See Also