Assign a Lync Online Voice Policy
The Lync Online users must also be assigned a Lync Online voice policy, also referred to as a Hybrid Voice policy. The tenant administrator assigns the Lync Online voice policy to Lync Online users enabled for on-premises Enterprise Voice by remotely using the PowerShell Lync Server Management Shell cmdlet, Grant-CsVoicePolicy. Perform the following procedures. "HybridVoice" is the default name of the Lync Online voice policy.
To assign the user-specific hybrid voice policy
Start a Windows PowerShell remote session, not a Lync Server Management Shell.
Note
For details about how to start a Windows PowerShell remote session, see Lync Server Windows PowerShell blog article, "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell," at https://go.microsoft.com/fwlink/?LinkId=255876.
In the Windows PowerShell, type the following command and then press Enter:
$PSModuleAutoloadingPreference = "None"
Import the following Windows PowerShell command-line interface modules:
Import-Module LyncOnlineConnector, Microsoft.PowerShell.Management, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility
Provide your Administrator’s credentials:
$cred=Get-Credential <Administrator URI>
You will be prompted to enter the Administrator’s password.
Create a Lync Online session, specifying the URL of your Lync Online Control Panel:
$CsSession = New-CsOnlineSession -TargetServer <Lync Online Control Panel URL> -Credential $cred
Note
To determine the URL of your Lync Online Control Panel, follow the steps in To determine the Lync Online Control Panel URL for your Office 365 tenant under Move users to Lync Online in Lync Server 2013.
Import all the commands from the newly created session, $CsSession, into the current session:
Import-PsSession -Session $CsSession
Assign the Lync Online policy to your user specified by its SIP URI:
Grant-CsVoicePolicy -Identity <SIP URI> -PolicyName HybridVoice
For example:
Grant-CsVoicePolicy -Identity dorena@contoso.com -PolicyName HybridVoice