Set up mobile 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.
You can set up how your users connect to Skype for Business Online using the Skype for Business app on mobile devices, such as a feature that enables users to make and receive phone calls on their mobile phone by using their work phone number instead of their mobile phone number. Mobility policies can also be used to require Wi-Fi connections when making or receiving calls.
Mobile policy settings can be configured at the time a policy is created, or you can use the Set-CsMobilityPolicy cmdlet to modify the settings of an existing policy.
Set your mobile policies
Note
For all of the mobile 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.
Install the Teams PowerShell module.
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.
Require a WiFi connection for video for a user
To create a new policy for these settings, run:
New-CsMobilityPolicy -Identity MobilityPolicy -RequireWIFIForIPVideo $true
See more on the New-CsMobilityPolicy cmdlet.
To grant the new policy you created to all of the users in your organization, run:
Grant-CsMobilityPolicy -Identity"amos.marble@contoso.com" -PolicyName MobilityPolicy
See more on the Grant-CsMobilityPolicy cmdlet.
If you have already created a policy, you can use the Set-CsMobilityPolicy cmdlet to make changes to the existing policy, and then use theGrant-CsMobilityPolicy cmdlet to apply the setting to your users.
Prevent a user from using the Skype for Business app
To create a new policy for these settings, run:
New-CsMobilityPolicy -Identity NoAppClientPolicy -EnableMobility $false
See more on the New-CsMobilityPolicy cmdlet.
To grant the new policy you created to Amos Marble, run:
Grant-CsMobilityPolicy -Identity "amos.marble@contoso.com"-PolicyName NoAppClientPolicy
See more on the Grant-CsMobilityPolicy cmdlet.
If you have already created a policy, you can use the Set-CsMobilityPolicy cmdlet to make changes to the existing policy, and then use the Grant-CsMobilityPolicy cmdlet to apply the setting to your users.
Prevent a user from making voice over IP calls using a mobile device
To create a new policy for these settings, run:
New-CsMobilityPolicy -Identity VoIPClientPolicy -EnableIPAudioVideo $false
See more on the New-CsMobilityPolicy cmdlet.
To grant the new policy you created to all of the users in your organization, run:
Grant-CsMobilityPolicy -Identity "amos.marble@contoso.com" -PolicyName VoIPClientPolicy
See more on the Grant-CsMobilityPolicy cmdlet.
If you have already created a policy, you can use the Set-CsMobilityPolicy cmdlet to make changes to the existing policy, and then use theGrant-CsMobilityPolicy cmdlet to apply the setting to your users.
Want to know more about Windows PowerShell?
Windows PowerShell is all about managing users and what users are allowed or not allowed to do. With Windows PowerShell, you can manage Microsoft 365 or Office 365 and Skype for Business Online using a single point of administration that can simplify your daily work, when you have multiple tasks to do. To get started with Windows PowerShell, see these topics:
Windows PowerShell has many advantages in speed, simplicity, and productivity over only using the Microsoft 365 admin center such as when you are making setting changes for many users at one time. Learn about these advantages in the following topics:
Related topics
Create custom external access policies
Block point-to-point file transfers