How to assign Lync Voice Policy to all the Users of Domain
Retired product. Microsoft retired Skype for Business Online on July 31, 2021, and support for Skype for Business Server 2015 and 2019 ended on October 14, 2025. Microsoft Teams replaces them. This article is kept for reference.
Skype for Business Online retirement
The following command is used in PowerShell to grant a voice policy to all the users of a domain.
“Get-CsUser -OU "ou=<domain>,ou=<OU>,dc=<>,dc=<>" | Grant-CsVoicePolicy -PolicyName "<Policy name>"”
By this command first we are getting the users of a whole OU and granting them voice policy.
Lync Servervoice policiesdefine the following for each user, site, or organization that is assigned the policy:
- A set of calling features that can be enabled or disabled to determine the Enterprise Voice functionality available to users.
- A set of public switched telephone network (PSTN) usage records that define what types of calls are authorized.
https://technet.microsoft.com/en-us/library/jj688155(v=ocs.15).aspx
Last updated on