Assign the Skype for Business Online voice policy

 

Дата изменения раздела: 2015-09-10

Please note that this is preview documentation for a feature currently in testing. Details may change as features are updated or released. For more information about how to access these new features, see https://www.skypepreview.com/

The final step is to assign the pre-defined Skype для бизнеса Online voice policy, called HybridVoice. You must be a user with the Office 365 Global Administrator role to run Remote PowerShell and assign voice policies.

To assign the pre-defined hybrid voice policy

  1. Before you begin, check that the Skype для бизнеса Online Connector (Windows PowerShell module) is deployed on your переднего плана. If it isn't, you can download it from the download center. You can find more information about using this module at Configuring your computer for Skype for Business Online management.

  2. Start Windows PowerShell as an administrator.

  3. Type the following and press Enter:

    Import-Module skypeonlineconnector
    
  4. Type the following and press Enter:

    $cred = Get-Credential
    

    After you press ENTER, you should see the Windows PowerShell Credential dialog box.

  5. Type your Skype для бизнеса Online username and password, and click OK.

  6. In the PowerShell window, type the following and press Enter:

    $Session = New-CsOnlineSession -Credential $cred -Verbose
    
  7. Import the session by typing the following cmdlet:

    Import-PSSession $session
    
  8. Finally, assign the policy to your user, whom you specify by the SIP URI:

    Grant-CsVoicePolicy -Identity <SIP URI> -PolicyName Tag:HybridVoice
    

    For example:

    Grant-CsVoicePolicy -Identity "Bob Kelly" -PolicyName Tag:HybridVoice
    

: