Create custom external access policies
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.
Skype for Business Online allows you to create other external access policies. Unlike client or conferencing policies, where you can have multiple combinations, there are three predefined external access policies that can cover most of the scenarios. These are:
No Federated or Skype Consumer Access (Tag:NoFederationAndPIC )
Federated Access Only (Tag:FederationOnly )
Federated and Consumer Access (FederationAndPICDefault)
Custom external policies allow you to create additional policies that aren't covered by the settings above. When the policy was created, you would be required to set all required parameters and you couldn't alter them later. Creating new custom policies allow you to control features such as Skype consumer access or a policy to disable public cloud audio/video, which is something that wasn't covered with predefined settings. Custom external access policies follow the same syntax as client, mobility, and conferencing policies. You can find out more about those settings here.
To make this work, the user must be using a supported version of 2016 Click-to-Run Skype for Business app that supports it. The following minimum version of Skype for Business 2016 Click-to-Run client is required:
Type | Release date | Version | Build |
---|---|---|---|
First Release for Current Channel |
11/17/2016 |
16.0.7571.2006 |
Version 1611 (Build 7571.2006) |
Current Channel |
12/6/2016 |
16.0.7571.2072 |
Version 1611 (Build 7571.2072) |
Deferred Channel |
2/22/2017 |
16.0.7369.2118 |
Version 1609 (Build 7369.2118) |
Caution
Users who are using older versions of Skype for Business Windows apps or Mac clients will still be able to transfer files.
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.
Create a custom external access policy for a user
To do this, run:
New-CsExternalAccessPolicy -Identity BlockSkypeVideo -EnablePublicCloudAccess $True -EnablePublicCloudAudioVideoAccess $False -EnableFederationAccess $True -EnableOutsideAccess $True
Grant-CsExternalAccessPolicy -PolicyName BlockSkypeVideo -Identity amosm@contoso.com
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 articles:
Windows PowerShell has many advantages in speed, simplicity, and productivity over only using the Microsoft 365 admin center such as when you're making setting changes for many users at one time. Learn about these advantages in the following articles:
Related articles
Block point-to-point file transfers