Commands › Microsoft Teams
Set-CsTeamsUpdateManagementPolicy
Use this cmdlet to modify a Teams Update Management policy.
Quick start script
# Set-CsTeamsUpdateManagementPolicy — 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-CsTeamsUpdateManagementPolicy
$before | Format-List
# 3. Make the change (dry run first)
Set-CsTeamsUpdateManagementPolicy -Identity <String> -WhatIf
Set-CsTeamsUpdateManagementPolicy -Identity <String>
# 4. Verify and diff
$after = Get-CsTeamsUpdateManagementPolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-CsTeamsUpdateManagementPolicy
[-DisabledInProductMessages <System.Management.Automation.PSListModifier`1[System.String]>]
[-Description <String>] [-AllowManagedUpdates <Boolean>] [-AllowPreview <Boolean>] [-UpdateDayOfWeek <Int64>]
[-UpdateTime <String>] [-UpdateTimeOfDay <DateTime>] [-AllowPublicPreview <String>]
[-AllowPrivatePreview <AllowPrivatePreview>] [-UseNewTeamsClient <String>]
[-BlockLegacyAuthorization <Boolean>] [-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (15)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.