Commands › Microsoft Teams

New-CsTeamsAudioConferencingPolicy

Microsoft Teams MicrosoftTeams New-*

Quick start script

# New-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)
New-CsTeamsAudioConferencingPolicy -Identity <String> -WhatIf
New-CsTeamsAudioConferencingPolicy -Identity <String>

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

Syntax

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

Parameters (7)

ParameterTypeRequiredWhat it controls
-AllowTollFreeDialin Boolean Determines whether users of the Policy can have Toll free numbers
-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 yes Specify the name of the policy that you are creating
-InMemory SwitchParameter Creates an object reference without actually committing the object as a permanent change. If you assign the output of this cmdlet called with this parameter to a variable, you can make changes to the properties of...
-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.
-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.