EnableTeamsConsumerInbound
Parameter of CsExternalAccessPolicy
Description
> Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
(Microsoft Teams Only) Indicates whether the user is allowed to be discoverable by people who are using Teams with an account that's not managed by an organization. It also controls if people who have who are using Teams with an account that's not managed by an organization can start the communication with the user.
To enable just for a selected set of users, use the Set-CsExternalAccessPolicy cmdlet to update the global policy, setting the value to False. Then assign selected users a policy with federation enabled.
Read Manage external access in Microsoft Teams to get more information about the effect of this parameter in Microsoft Teams. The default value is True.
Characteristics
- Type
Boolean- Default value
True- Parameter sets
- (All)
Apply
# Required module: Install-Module MicrosoftTeams
Connect-MicrosoftTeams
Set-CsExternalAccessPolicy -Identity 'Global' -EnableTeamsConsumerInbound $false
Get-CsExternalAccessPolicy -Identity 'Global' | Select-Object Identity, EnableTeamsConsumerInbound Assign to users: Grant-CsExternalAccessPolicy Microsoft Learn documentation