Commands › Microsoft Teams

Set-CsOnlineDialInConferencingServiceNumber

Microsoft Teams MicrosoftTeams Set-*

Modify the properties of a dial-in or audio conferencing service number that is used by callers when they dial in to a meeting.

Quick start script

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

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

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

Syntax — 2 parameter sets

UniqueNumberParams (Default)

Set-CsOnlineDialInConferencingServiceNumber [-Identity] <String> [-Tenant <Guid>]
 [-PrimaryLanguage <String>] [-SecondaryLanguages <String>] [-RestoreDefaultLanguages] [-DomainController <Fqdn>]
 [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

InstanceParams

Set-CsOnlineDialInConferencingServiceNumber [-Instance] <ConferencingServiceNumber> [-Tenant <Guid>]
 [-PrimaryLanguage <String>] [-SecondaryLanguages <String>] [-RestoreDefaultLanguages] [-DomainController <Fqdn>]
 [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (10)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
-DomainController Fqdn Specifies the domain controller that's used by the cmdlet to read or write the specified data. Valid inputs for this parameter include:
-Force SwitchParameter The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for...
-Identity String Specifies the default dial-in service number string. The service number can be specified in the following formats: E.164 number, +\<E.164 number\> and tel:\<E.164 number\>.
-Instance ConferencingServiceNumber Allows you to pass a reference to the Office 365 audio service number object to the cmdlet rather than set individual parameter values.
-PrimaryLanguage String Specifies the primary language that is used when users call into a meeting. The culture ID is used. For example, en-US for US English, ja-JP for Japanese, or es-ES for Spanish.
-RestoreDefaultLanguages SwitchParameter Including this switch restores all of the default languages for the audio conferencing service number.
-SecondaryLanguages String Specifies the secondary languages that can be used when users call into a meeting. The culture ID is used. For example, en-US for US English, ja-JP for Japanese, or es-ES for Spanish. The order you provide will be...
-Tenant Guid This parameter is reserved for internal Microsoft use.
-WhatIf SwitchParameter The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

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