Commands › Exchange Online
New-UMDialPlan
Create a Unified Messaging (UM) dial plan to establish a link between UM IP gateways, UM hunt groups, and Mailbox servers to enable communication between Unified Messaging components.
Quick start script
# New-UMDialPlan — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-UMDialPlan
$before | Format-List
# 3. Make the change (dry run first)
New-UMDialPlan -Name <String> -CountryOrRegionCode <String> -NumberOfDigitsInExtension <Int32> -WhatIf
New-UMDialPlan -Name <String> -CountryOrRegionCode <String> -NumberOfDigitsInExtension <Int32>
# 4. Verify and diff
$after = Get-UMDialPlan
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-UMDialPlan [-Name] <String> -CountryOrRegionCode <String> -NumberOfDigitsInExtension <Int32>
[-AccessTelephoneNumbers <MultiValuedProperty>]
[-Confirm]
[-DefaultLanguage <UMLanguage>]
[-DomainController <Fqdn>]
[-FaxEnabled <Boolean>]
[-GenerateUMMailboxPolicy <Boolean>]
[-URIType <UMURIType>]
[-VoIPSecurity <UMVoIPSecurityType>]
[-WhatIf]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.