en-US

CsApplicationAccessPolicy

Modifies an existing application access policy.

This cmdlet modifies an existing application access policy.

Available cmdlets

Parameters

Name Type Default value Accepted values
AppIds PSListModifier

Examples

Add new app ID to the policy

PS C:\> Set-CsApplicationAccessPolicy -Identity "ASimplePolicy" -AppIds @{Add="5817674c-81d9-4adb-bfb2-8f6a442e4622"}

The command shown above adds a new app ID "5817674c-81d9-4adb-bfb2-8f6a442e4622" to the per-user application access policy ASimplePolicy.

Remove app IDs from the policy

PS C:\> Set-CsApplicationAccessPolicy -Identity "ASimplePolicy" -AppIds @{Remove="5817674c-81d9-4adb-bfb2-8f6a442e4622"}

The command shown above removes the app ID "5817674c-81d9-4adb-bfb2-8f6a442e4622" from the per-user application access policy ASimplePolicy.

Microsoft Learn documentation