Commands › Microsoft Teams
Set-CsTeamsWorkLoadPolicy
This cmdlet sets the Teams Workload Policy value for current tenant.
Quick start script
# Set-CsTeamsWorkLoadPolicy — 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-CsTeamsWorkLoadPolicy
$before | Format-List
# 3. Make the change (dry run first)
Set-CsTeamsWorkLoadPolicy -WhatIf
Set-CsTeamsWorkLoadPolicy
# 4. Verify and diff
$after = Get-CsTeamsWorkLoadPolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-CsTeamsWorkLoadPolicy [-AllowCalling <Boolean>] [-AllowCallingPinned <Boolean>] [-AllowMeeting <Boolean>]
[-AllowMeetingPinned <Boolean>] [-AllowMessaging <Boolean>] [-AllowMessagingPinned <Boolean>]
[-Description <String>] [[-Identity] <String>] [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.