Commands › Microsoft Teams

Set-CsTeamsSettingsCustomApp

Microsoft Teams MicrosoftTeams Set-*

Set the Custom Apps Setting's value of Teams Admin Center.

Quick start script

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

# 3. Make the change (dry run first)
Set-CsTeamsSettingsCustomApp -isSideloadedAppsInteractionEnabled <Boolean> -WhatIf
Set-CsTeamsSettingsCustomApp -isSideloadedAppsInteractionEnabled <Boolean>

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

Syntax

Set-CsTeamsSettingsCustomApp -isSideloadedAppsInteractionEnabled <Boolean>
 [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-isSideloadedAppsInteractionEnabled Boolean yes The value to Custom Apps Setting. If the value is true, the custom apps can be uploaded as app packages and available in the organization's app store, vice versa.
-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.