Commands › Microsoft Teams
Set-CsTeamsClientConfiguration
Changes the Teams client configuration settings for the specified tenant.
Quick start script
# Set-CsTeamsClientConfiguration — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsClientConfiguration
$before | Format-List
# 3. Make the change (dry run first)
Set-CsTeamsClientConfiguration -WhatIf
Set-CsTeamsClientConfiguration
# 4. Verify and diff
$after = Get-CsTeamsClientConfiguration
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 2 parameter sets
Identity (Default)
Set-CsTeamsClientConfiguration [-Tenant <System.Guid>] [-AllowEmailIntoChannel <Boolean>]
[-RestrictedSenderList <String>] [-AllowDropBox <Boolean>] [-AllowEgnyte <Boolean>] [-AllowBox <Boolean>] [-AllowGoogleDrive <Boolean>] [-AllowRoleBasedChatPermissions <Boolean>]
[-AllowShareFile <Boolean>] [-AllowOrganizationTab <Boolean>] [-AllowSkypeBusinessInterop <Boolean>]
[-AllowTBotProactiveMessaging <Boolean>] [-ContentPin <String>] [-AllowResourceAccountSendMessage <Boolean>]
[-ResourceAccountContentAccess <String>] [-AllowGuestUser <Boolean>]
[-AllowScopedPeopleSearchandAccess <Boolean>] [-UseUnifiedDomain <String>] [[-Identity] <XdsIdentity>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
Instance
Set-CsTeamsClientConfiguration [-Tenant <System.Guid>] [-AllowEmailIntoChannel <Boolean>]
[-RestrictedSenderList <String>] [-AllowDropBox <Boolean>] [-AllowEgnyte <Boolean>] [-AllowBox <Boolean>] [-AllowGoogleDrive <Boolean>] [-AllowRoleBasedChatPermissions <Boolean>]
[-AllowShareFile <Boolean>] [-AllowOrganizationTab <Boolean>] [-AllowSkypeBusinessInterop <Boolean>]
[-AllowTBotProactiveMessaging <Boolean>] [-ContentPin <String>] [-AllowResourceAccountSendMessage <Boolean>]
[-ResourceAccountContentAccess <String>] [-AllowGuestUser <Boolean>]
[-AllowScopedPeopleSearchandAccess <Boolean>] [-UseUnifiedDomain <String>] [-Instance <PSObject>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
Parameters (23)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.