Commands › Microsoft Teams

Get-CsOnlineDialOutPolicy

Microsoft Teams MicrosoftTeams Get-*

Get all the available outbound calling restriction policies in your organization.

Quick start script

# Get-CsOnlineDialOutPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsOnlineDialOutPolicy | Format-List

# 3. Export for evidence / drift tracking
Get-CsOnlineDialOutPolicy | Export-Clixml .\CsOnlineDialOutPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity (Default)

Get-CsOnlineDialOutPolicy [[-Identity] <string>] [<CommonParameters>]

Filter

Get-CsOnlineDialOutPolicy [-Filter <string>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Filter String Enables you to use wildcard characters when indicating the policy (or policies) to be returned. To return a collection of all the per-user policies, use this syntax: -Filter "tag:*".
-Identity String Unique identifier of the outbound calling restriction policy to be returned. To refer to the global policy, use this syntax: "-Identity Global". To refer to a per-user policy, use syntax similar to this: -Identity...

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