Commands › Microsoft Teams

Remove-CsTeamsNetworkRoamingPolicy

Microsoft Teams MicrosoftTeams Remove-*

Remove-CsTeamsNetworkRoamingPolicy allows IT Admins to delete policies for Network Roaming and Bandwidth Control experiences in Microsoft Teams.

Quick start script

# Remove-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
Remove-CsTeamsNetworkRoamingPolicy -Identity <XdsIdentity>

# 4. Verify and diff
$after = Get-CsTeamsNetworkRoamingPolicy
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-CsTeamsNetworkRoamingPolicy [[-Identity] <XdsIdentity>] [-Tenant <System.Guid>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity XdsIdentity yes Unique identifier of the policy to be removed.
-Tenant Guid {{ Fill Tenant Description }}

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