Commands › Microsoft Teams

Disable-CsOnlineSipDomain

Microsoft Teams MicrosoftTeams Disable-*

This cmdlet prevents provisioning of users in Skype for Business Online for the specified domain.

Quick start script

# Disable-CsOnlineSipDomain — 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-CsOnlineSipDomain
$before | Format-List

# 3. Make the change
Disable-CsOnlineSipDomain -Domain <String>

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

Syntax

Disable-CsOnlineSipDomain -Domain <String> [-Force] [-Confirm] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Domain String yes The SIP domain to be disabled for online provisioning in Skype for Business Online.
-Force SwitchParameter Suppresses all confirmation prompts that might occur when running the command.

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