Commands › Microsoft Teams
New-CsTeamsAppSetupPolicy
As an admin, you can use app setup policies to customize Microsoft Teams to highlight the apps that are most important for your users. You choose the apps to pin and set the order that they appear.
Quick start script
# New-CsTeamsAppSetupPolicy — 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-CsTeamsAppSetupPolicy
$before | Format-List
# 3. Make the change (dry run first)
New-CsTeamsAppSetupPolicy -WhatIf
New-CsTeamsAppSetupPolicy
# 4. Verify and diff
$after = Get-CsTeamsAppSetupPolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-CsTeamsAppSetupPolicy [-Identity] <String>
[-AllowSideLoading <Boolean>]
[-AllowUserPinning <Boolean>]
[-AppPresetList <Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPreset[]>]
[-Confirm]
[-Description <String>]
[-Force]
[-PinnedAppBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedApp[]>]
[-PinnedCallingBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedCallingBarApp[]>]
[-PinnedMessageBarApps <Microsoft.Teams.Policy.Administration.Cmdlets.Core.PinnedMessageBarApp[]>]
[-AppPresetMeetingList <System.Management.Automation.PSListModifier`1[Microsoft.Teams.Policy.Administration.Cmdlets.Core.AppPresetMeeting]>]
[-AdditionalCustomizationApps <System.Management.Automation.PSListModifier`1[Microsoft.Teams.Policy.Administration.Cmdlets.Core.AdditionalCustomizationApp]>]
[-Tenant <System.Guid>]
[-WhatIf]
[<CommonParameters>]
Parameters (13)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.