Commands › Microsoft Teams

Set-CsOnlineEnhancedEmergencyServiceDisclaimer

Microsoft Teams MicrosoftTeams Set-*

You can use Get-CsOnlineEnhancedEmergencyServiceDisclaimer to see the status of the emergency service disclaimer.

Quick start script

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

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

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

Syntax

Set-CsOnlineEnhancedEmergencyServiceDisclaimer -CountryOrRegion <String> [-Version <String>] [-ForceAccept]
 [-Tenant <Guid>] [-DomainController <Fqdn>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter The Confirm switch causes the command to pause processing and requires confirmation to proceed.
-CountryOrRegion String Specifies the region or country whose terms and conditions you wish to accept. You need to use the ISO 31661-1 alpha-2 2 letter code for the country. For example for the United States it must be specified as "US" and...
-DomainController Fqdn This parameter is reserved for internal Microsoft use.
-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...
-ForceAccept SwitchParameter This parameter is reserved for internal Microsoft use.
-Tenant Guid This parameter is reserved for internal Microsoft use.
-Version String 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.