Scenario 4

This scenario covers how to enable App Protection for specific user groups.

The following steps allow you to enable App Protection for users of a specific group:

  1. Select the Active Directory user group for which you want to enable the App Protection policies for the users. In this example, the Active Directory user group is ProductManagers.

  2. Configure the Broker Access policy rules:

    1. Install the Citrix PowerShell SDK and connect to the cloud API as explained in the Citrix blog Getting started with PowerShell automation for Citrix Cloud.

    2. Run the command Get-BrokerAccessPolicyRule.

      A list of all the broker access policies for all the delivery groups which are present is displayed.

    3. Find the DesktopGroupUid for the delivery group that you want to change.

      Desktop Group UID

    4. Get the policies that are applied only to a particular delivery group using the command:

      Get-BrokerAccessPolicyRule -DesktopGroupUid 7

    5. To enable App Protection policies for the users in the ProductManagers user group, run the following commands:

      New-BrokerAccessPolicyRule "Example Rule Name_1" -DesktopGroupUid 7 -AllowedConnections AnyViaAG -AllowedProtocols HDX -AllowedUsers Filtered -AppProtectionScreenCaptureRequired $true -IncludedUserFilterEnabled $true -IncludedUsers domain.com\ProductManagers

    6. To disable App Protection policies for the users who are not a part of the the ProductManagers user group, run the following commands:

      New-BrokerAccessPolicyRule "Example Rule Name_2" -DesktopGroupUid 7 -AllowedConnections AnyViaAG -AllowedProtocols HDX -AllowedUsers Filtered -AppProtectionScreenCaptureRequired $false-ExcludedUserFilterEnabled $true -ExcludedUsers domain.com\ProductManagers

  3. Verification:

    Sign out of Citrix Workspace app, if already open. Sign in to Citrix Workspace app as a user in the ProductManagers Active Directory user group. Launch the protected resource and you see that App Protection is disabled. Sign out of Citrix Workspace app and Sign in again as a user who is not part of the ProductManagers Active Directory user group. Launch the protected resource and you see that App Protection is enabled.

Scenario 4

In this article