Set up client policies for your organization

Client policies help determine the features of Skype for Business Online that are made available to users; for example, you might give some users the right to transfer files while denying this right to other users.

Client policy settings can be configured at the time a policy is created, or you can use the Set-CsClientPolicy cmdlet to modify the settings of an existing policy.

Set your client policies

Note

For all of the client policy settings in Skype for Business Online, you must use Windows PowerShell and you can't use the Skype for Business admin center.

Verify and start Windows PowerShell

  • Check that you are running Windows PowerShell version 3.0 or higher
  1. To verify that you are running version 3.0 or higher: Start Menu > Windows PowerShell.

  2. Check the version by typing Get-Host in the Windows PowerShell window.

  3. If you don't have version 3.0 or higher, you need to download and install updates to Windows PowerShell. See Windows Management Framework 4.0 to download and update Windows PowerShell to version 4.0. Restart your computer when you are prompted.

  4. You will also need to install the Windows PowerShell module for Skype for Business Online that enables you to create a remote Windows PowerShell session that connects to Skype for Business Online. This module, which is supported only on 64-bit computers, can be downloaded from the Microsoft Download Center at Windows PowerShell Module for Skype for Business Online. Restart your computer if you are prompted.

    If you need to know more, see Connect to all Office 365 services in a single Windows PowerShell window.

  • Start a Windows PowerShell session
  1. From the Start Menu > Windows PowerShell.

  2. In the Windows PowerShell window, connect to your Office 365 organization by running:

    Note

    You only have to run the Import-Module command the first time you use the Skype for Business Online Windows PowerShell module.

     Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
     $credential = Get-Credential
     $session = New-CsOnlineSession -Credential $credential
     Import-PSSession $session
    

    If you want more information about starting Windows PowerShell, see Connect to all Office 365 services in a single Windows PowerShell window or Connecting to Skype for Business Online by using Windows PowerShell.

Disable emoticons and presence notifications and prevent saving of IMs

  • To create a new policy for these settings, run:
New-CsClientPolicy -Identity ClientPolicy -DisableEmoticons $true -DisablePresenceNote -$true -DisableSavingIM $true

See more on the New-CsClientPolicy cmdlet.

  • To grant the new policy you created to all of the users in your organization, run:
Grant-CsClientPolicy -identity "amos.marble@contoso.com" -PolicyName ClientPolicy

See more on the Grant-CsClientPolicy cmdlet.

If you have already created a policy, you can use the Set-CsClientPolicy cmdlet to make changes to the existing policy, and then use the Grant-CsClientPolicy cmdlet to apply the settings to your users.

  • To create a new policy for these settings, run:
New-CsClientPolicy -Identity URLClientPolicy -EnableURL $true

See more on the New-CsClientPolicy cmdlet.

  • To grant the new policy you created to all of the users in your organization, run:
Grant-CsClientPolicy -identity "amos.marble@contoso.com" -PolicyName URLClientPolicy

See more on the Grant-CsClientPolicy cmdlet.

If you have already created a policy, you can use the Set-CsClientPolicy cmdlet to make changes to the existing policy, and then use the Grant-CsClientPolicy cmdlet to apply the settings to your users.

Prevent showing recent contacts

  • To create a new policy for these settings, run:

    New-CsClientPolicy -Identity ContactsClientPolicy -ShowRecentContacts $false 
    

    See more on the New-CsClientPolicy cmdlet.

  • To grant the new policy you created to Amos Marble, run:

    Grant-CsClientPolicy -identity "amos.marble@contoso.com" -PolicyName ContactsClientPolicy
    

    See more on the Grant-CsClientPolicy cmdlet.

    If you have already created a policy, you can use the Set-CsClientPolicy cmdlet to make changes to the existing policy, and then use the Grant-CsClientPolicy cmdlet to apply the settings to your users.

Want to know more about Windows PowerShell?

Create custom external access policies

Block point-to-point file transfers

Set up conferencing policies in your organization