Commands › Microsoft Teams

New-CsTenantNetworkRegion

Microsoft Teams MicrosoftTeams New-*

Creates a new network region.

Quick start script

# New-CsTenantNetworkRegion — 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-CsTenantNetworkRegion
$before | Format-List

# 3. Make the change (dry run first)
New-CsTenantNetworkRegion -Identity <String> -NetworkRegionID <String> -WhatIf
New-CsTenantNetworkRegion -Identity <String> -NetworkRegionID <String>

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

Syntax — 2 parameter sets

Identity (Default)

New-CsTenantNetworkRegion [-Identity] <string> [-BypassID <string>] [-CentralSite <string>]
 [-Description <string>] [-WhatIf] [-Confirm] [<CommonParameters>]

ParentAndRelativeKey

New-CsTenantNetworkRegion -NetworkRegionID <string> [-BypassID <string>] [-CentralSite <string>]
[-Description <string>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-BypassID String This parameter is not used.
-CentralSite String This parameter is not used.
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Description String Provide a description of the network region to identify purpose of creating it.
-Identity String yes Unique identifier for the network region to be created.
-NetworkRegionID String yes The name of the network region. This must be a string that is unique. You cannot specify an NetworkRegionID and an Identity at the same time.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

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