Updated on 2023-12-04 GMT+08:00

Importing a Policy

Scenario

You can create workspaces in multiple areas. The policies of each workspace must be the same. You can export the configured policies of a workspace and import the policies to the target workspaces to quickly configure desktop policies in multiple areas.

Prerequisites

You have obtained the policy file (xxx.xml) exported.

Constraints

  • The policy name in the file to be imported should be different from the names of existing policies in the destination workspace.
  • The maximum of 10 policies can be included in the file to be imported. It is not advised importing an integration of multiple policy files.
  • By default, a maximum of 50 policies can exist in a workspace. If the number of policies exceeds the quota, the file cannot be imported.

Procedure

  1. Log in to the Workspace console.
  2. Choose Policies > Protocol Policy.

    The Protocol Policy page is displayed.

  3. Click Import Policy.

    Figure 1 Importing a policy

  4. Select the obtained policy file (xxx.xml) and click Open.

  5. Locate the row that contains the imported policy, and click More > Modify Policy Object in the Operation column.

    The policy file exported does not contain the application object information of policies. You need to reconfigure the information.

  6. In the available objects on the left, select the objects to which the policies apply based on the required object type.

    Figure 2 Selecting objects

  7. Click OK.

    After the policies are configured for the objects, they take effect after the objects logs in to the desktop next time.

    The imported policies are prioritized based on the priority of the existing policies (The default policy has the lowest priority.) of the current tenant and their own priority in the imported file. For example, if the priorities of three imported policies are 1, 5, and 7 and the priorities of three existing policies of the current tenant are 1, 2, and 3 (default policy), the priorities of the six policies are 1 (the existing policy whose priority is 1), 2 (the existing policy whose priority is 2), 3 (the policy whose priority is 1 in the imported file), 4 (the policy whose priority is 5 in the imported file), 5 (the policy whose priority is 7 in the imported file), and 6 (the default policy).