Share via


Set up client policies for your organization

Important

Skype for Business Online operated by 21Vianet in China will be retired on October 1, 2023. If you haven't upgraded your Skype for Business Online users yet, they will be automatically scheduled for an assisted upgrade. If you want to upgrade your organization to Teams yourself, we strongly recommend that you begin planning your upgrade path today. Remember that a successful upgrade aligns technical and user readiness, so be sure to leverage our upgrade guidance as you navigate your journey to Teams.

Skype for Business Online, excluding the service operated by 21Vianet in China, was retired on July 31, 2021.

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.

Start Windows PowerShell

Note

Skype for Business Online Connector is currently part of the latest Teams PowerShell module. If you're using the latest Teams PowerShell public release, you don't need to install the Skype for Business Online Connector.

  1. Install the Teams PowerShell module.

  2. Open a Windows PowerShell command prompt and run the following commands:

    # When using Teams PowerShell Module
    
    Import-Module MicrosoftTeams
    $credential = Get-Credential
    Connect-MicrosoftTeams -Credential $credential
    

    If you want more information about starting Windows PowerShell, see Connect to all Microsoft 365 or Office 365 services in a single Windows PowerShell window or Set up your computer for 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