How to assign Hosted Voice mail policy in Lync
Time to Execute: 30m
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
Run the following command to assign hosted voice mail policy.
Grant-cshostedvoicemailpolicy –identity “<Identity of user>” –policyname <Policy name>
In the above command to whom (user) you want to assign the policy its name comes in the commas of identity like in the above command policy is going to assign to user. Likewise, the identity the policy name is written against the policy name.
Ahosted voice mail policyprovides information to the Lync Server 2013 ExUM Routing application about where to route calls for users whose mailboxes are located on ahostedExchange service.