Commands › Microsoft Teams
Set-CsTeamsNetworkRoamingPolicy
Set-CsTeamsNetworkRoamingPolicy allows IT Admins to create or update policies for Network Roaming and Bandwidth Control experiences in Microsoft Teams.
Quick start script
# Set-CsTeamsNetworkRoamingPolicy — 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-CsTeamsNetworkRoamingPolicy
$before | Format-List
# 3. Make the change
Set-CsTeamsNetworkRoamingPolicy -Identity <XdsIdentity>
# 4. Verify and diff
$after = Get-CsTeamsNetworkRoamingPolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-CsTeamsNetworkRoamingPolicy [-Identity <XdsIdentity>]
[-AllowIPVideo <Boolean>]
[-Description <String>]
[-MediaBitRateKb <Integer>]
[-Tenant <System.Guid>]
[<CommonParameters>]
Parameters (4)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.