Commands › Microsoft Teams

Set-CsTeamsNetworkRoamingPolicy

Microsoft Teams MicrosoftTeams Set-*

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)

ParameterTypeRequiredWhat it controls
-AllowIPVideo Boolean Determines whether video is enabled in a user's meetings or calls. Set this to TRUE to allow the user to share their video. Set this to FALSE to prohibit the user from sharing their video.
-Description String Description of the policy to be edited.
-Identity XdsIdentity yes Unique identifier of the policy to be modified.
-MediaBitRateKb Integer Determines the media bit rate for audio/video/app sharing transmissions in meetings.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.