New-CsTeamsAppPermissionPolicy
NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience. This cmdlet is not supported for tenants that migrated to app centric management feature as it replaced permission policies. While the cmdlet may succeed, the changes aren't applied to the tenant.
As an admin, you can use app permission policies to allow or block apps for your users. Learn more about the app permission policies at /microsoftteams/teams-app-permission-policies and about app centric management at /microsoftteams/app-centric-management.
Syntax
New-CsTeamsAppPermissionPolicy
[-Force]
[-Description <Object>]
[-GlobalCatalogAppsType <Object>]
[-WhatIf]
[-PrivateCatalogAppsType <Object>]
[-Confirm]
[[-Identity] <Object>]
[-DefaultCatalogAppsType <Object>]
[-Tenant <Object>]
[-InMemory]
[-GlobalCatalogApps <Object>]
[-DefaultCatalogApps <Object>]
[-PrivateCatalogApps <Object>]
[-AsJob]
Description
NOTE: The existence of this cmdlet is being documented for completeness, but do not use this cmdlet. We require that all creation and modification of app permission polices (not including the assignment or removal of policies from users) happens in the Microsoft Teams & Skype for Business Admin Center to ensure that the policy matches your expectations for the end user experience.
As an admin, you can use app permission policies to enable or block specific apps for your users. Learn more about the App Setup Policies: /microsoftteams/teams-app-permission-policies.
Examples
Example 1
Intentionally omitted.
Inputs
None
Outputs
System.Object