Commands › Microsoft Teams

Set-CsTeamsAudioConferencingPolicy

Microsoft Teams MicrosoftTeams Set-*

Audio conferencing policies can be used to manage audio conferencing toll- and toll-free numbers to be displayed in meeting invites created by users within your organization.

Quick start script

# Set-CsTeamsAudioConferencingPolicy — 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-CsTeamsAudioConferencingPolicy
$before | Format-List

# 3. Make the change (dry run first)
Set-CsTeamsAudioConferencingPolicy  -WhatIf
Set-CsTeamsAudioConferencingPolicy

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

Syntax — 2 parameter sets

Identity (Default)

Set-CsTeamsAudioConferencingPolicy [-AllowTollFreeDialin <Boolean>] [-Force] [[-Identity] <String>]
 [-MeetingInvitePhoneNumbers <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]

Instance

Set-CsTeamsAudioConferencingPolicy [-AllowTollFreeDialin <Boolean>] [-Force]
 [-MeetingInvitePhoneNumbers <Object>] [-Instance <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-AllowTollFreeDialin Boolean Determines if users of this Policy can have Toll free numbers. If toll-free numbers are available in your Microsoft Audio Conferencing bridge, this parameter controls if they can be used to join the meetings of a given user.
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Force SwitchParameter Suppresses any confirmation prompts that would otherwise be displayed before making changes.
-Identity String Unique identifier for the policy to be Set. To set the global policy, use this syntax: -Identity global. To set a per-user policy use syntax similar to this: -Identity "Emea Users". If this parameter is not included,...
-Instance PSObject Allows you to pass a reference to an object to the cmdlet rather than set individual parameter values.
-MeetingInvitePhoneNumbers Object Determines the list of audio-conferencing Toll- and Toll-free telephone numbers that will be included in meetings invites created by users of this policy. If no phone numbers are specified, then the phone number that...
-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.