CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsAppPermissionPolicy
Cmdlet to set the app permission policy for Teams. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 13 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DefaultCatalogAppsChoose which Teams apps published by Microsoft or its partners can be installed by your users.-DefaultCatalogAppsTypeChoose to allow or block the installation of Microsoft apps.-DescriptionDescription of app setup permission policy.-ForceDo not use.-GlobalCatalogAppsChoose which Teams apps published by a third party can be installed by your users.-GlobalCatalogAppsTypeChoose to allow or block the installation of third-party apps.-IdentityName of App setup permission policy.-InstanceDo not use.-PrivateCatalogAppsChoose to allow or block the installation of custom apps.-PrivateCatalogAppsTypeChoose which custom apps can be installed by your users.-TenantDo not use.-WhatIf, -wiShows what would happen if the cmdlet runs.