Muokkaa

Jaa


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
   [[-Identity] <String>]
   [-Confirm]
   [-DefaultCatalogApps <DefaultCatalogApp[]>]
   [-DefaultCatalogAppsType <String>]
   [-Description <String>]
   [-Force]
   [-GlobalCatalogApps <GlobalCatalogApp[]>]
   [-GlobalCatalogAppsType <String>]
   [-InMemory]
   [-PrivateCatalogApps <PrivateCatalogApp[]>]
   [-PrivateCatalogAppsType <String>]
   [-Tenant <Object>]
   [-WhatIf]
   [<CommonParameters>]

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