Commands › Microsoft Teams

Set-CsOnlineDialInConferencingUser

Microsoft Teams MicrosoftTeams Set-*

Modify the properties of a user that has been enabled for Microsoft's audio conferencing service.

Quick start script

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

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

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

Syntax — 2 parameter sets

TenantIdParams (Default)

Set-CsOnlineDialInConferencingUser [-Identity] <UserIdParameter> [-BridgeId <Guid>]
 [-BridgeName <String>] [-Tenant <Guid>] [-ServiceNumber <String>] [-TollFreeServiceNumber <String>] [-AllowPSTNOnlyMeetings <Boolean>] [-Force]
 [-ResetLeaderPin] [-AllowTollFreeDialIn <Boolean>] [-SendEmailToAddress <String>]
 [-SendEmailFromAddress <String>] [-SendEmailFromDisplayName <String>] [-SendEmail] [-DomainController <Fqdn>] [-AsJob]
 [-WhatIf] [-Confirm] [<CommonParameters>]

TenantDomainParams

Set-CsOnlineDialInConferencingUser [-Identity] <UserIdParameter> [-BridgeId <Guid>]
 [-BridgeName <String>] [-TenantDomain <String>] [-ServiceNumber <String>] [-TollFreeServiceNumber <String>] [-AllowPSTNOnlyMeetings <Boolean>] [-Force]
 [-ResetLeaderPin] [-AllowTollFreeDialIn <Boolean>] [-SendEmailToAddress <String>]
 [-SendEmailFromAddress <String>] [-SendEmailFromDisplayName <String>] [-SendEmail] [-DomainController <Fqdn>] [-AsJob]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (19)

ParameterTypeRequiredWhat it controls
-AllowPSTNOnlyMeetings Boolean If true, non-authenticated users can start meetings. If false, non-authenticated callers wait in the lobby until an authenticated user joins, thereby starting the meeting. An authenticated user is a user who joins...
-AllowTollFreeDialIn Boolean 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. This setting can ONLY be managed using the...
-AsJob SwitchParameter The parameter is used to run commands as background jobs.
-BridgeId Guid Specifies the globally-unique identifier (GUID) for the audio conferencing bridge.
-BridgeName String Specifies the name of the audio conferencing bridge.
-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 UserIdParameter Specifies the Identity of the user account to be to be modified. A user identity can be specified by using one of four formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's domain...
-ResetLeaderPin SwitchParameter Specifies whether to reset the meeting organizer or leaders PIN for meetings.
-SendEmail SwitchParameter Send an email to the user containing their Audio Conference information.
-SendEmailFromAddress String You can specify the From Address to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmailFromDisplayName and -SendEmail.
-SendEmailFromDisplayName String You can specify the Display Name to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmailFromAddress and -SendEmail.
-SendEmailToAddress String You can specify the To Address to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmail.
-ServiceNumber String Specifies the default service number for the user. The default number is used in meeting invitations. The cmdlet will verify that the service number is assigned to the user's current conference bridge, or the one the...
-Tenant Guid Specifies the globally unique identifier (GUID) of your Skype for Business Online tenant account. For example: `-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"`. You can find your tenant ID by running this command:...
-TenantDomain String Specifies the domain name for the tenant or organization.
-TollFreeServiceNumber String Specifies a toll-free phone number to be used by the user. This number is then used in meeting invitations. The toll-free number can be specified in the following formats: E.164 number, +\<E.164 number\> and...
-WhatIf SwitchParameter The WhatIf parameter is not implemented for this cmdlet.

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