Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you try to assign a location policy to a cloud-based user in an on-premises Lync Server 2013 and Lync Online hybrid deployment


View products that this article applies to.

Symptoms

Assume that you try to assign a location policy to a cloud-based user in a Microsoft on-premises Lync Server 2013 and Lync Online hybrid deployment. To do this, you run the Grant-CsLocationPolicy cmdlet on an on-premises Lync Server 2013 server. In this situation, the operation fails, and you receive the following error message:
Grant-CsLocationPolicy : Cannot assign policy to user hosted by a hosting provider.
+ Grant-CsLocationPolicy <User> -PolicyName UserLocationPolicy
+ CategoryInfo : NotSpecified: (:) [Grant-CsLocationPolicy], ManagementException
+ FullyQualifiedErrorId : Microsoft.Rtc.Management.AD.ManagementException,Microsoft.Rtc.Management.AD.Cmdlets.AssignLocationPolicyCmdlet

↑ Back to the top


Resolution

To resolve the issue, install the following cumulative update:
2781547 Description of the cumulative update for Lync Server 2013: February 2013

↑ Back to the top


More Information

For more information about the Grant-CsLocationPolicy cmdlet, go to the following Microsoft website:

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kberrmsg, kb

↑ Back to the top

Article Info
Article ID : 2798150
Revision : 1
Created on : 1/7/2017
Published on : 2/27/2013
Exists online : False
Views : 382