Set-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.

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.

Syntax

Set-CsTeamsAppPermissionPolicy
   [-Tenant <System.Guid>]
   [-DefaultCatalogApps <>]
   [-GlobalCatalogApps <>]
   [-PrivateCatalogApps <>]
   [-Description <String>]
   [-DefaultCatalogAppsType <String>]
   [-GlobalCatalogAppsType <String>]
   [-PrivateCatalogAppsType <String>]
   [[-Identity] <XdsIdentity>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsTeamsAppPermissionPolicy
   [-Tenant <System.Guid>]
   [-DefaultCatalogApps <>]
   [-GlobalCatalogApps <>]
   [-PrivateCatalogApps <>]
   [-Description <String>]
   [-DefaultCatalogAppsType <String>]
   [-GlobalCatalogAppsType <String>]
   [-PrivateCatalogAppsType <String>]
   [-Instance <PSObject>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-DefaultCatalogApps

Do not use.

Type:undefined
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-DefaultCatalogAppsType

Do not use.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Description

Do not use.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Force

Do not use.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-GlobalCatalogApps

Do not use.

Type:undefined
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-GlobalCatalogAppsType

Do not use.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Do not use.

Type:XdsIdentity
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Instance

Do not use.

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-PrivateCatalogApps

Do not use.

Type:undefined
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-PrivateCatalogAppsType

Do not use.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Tenant

Do not use.

Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object