Help Center/ Workspace/ FAQs/ FAQs for Administrators/ How Do I Do If a Message Is Displayed Indicating Duplicate Policy Names During Policy Import?
Updated on 2024-02-27 GMT+08:00

How Do I Do If a Message Is Displayed Indicating Duplicate Policy Names During Policy Import?

Scenario

If the policy name in the file to be imported is the same as an existing policy name in the destination region, the system displays a message indicating that the policy name already exists and you need to change the policy name when importing the file.

Procedure

  1. Use a text editor to open the xxx.xml file to be imported.
  2. Search for policyGroupName in the xxx.xml file and find the duplicate policy name.
  3. Change the policy name in <policyGroupName>Policy Name</policyGroupName>, as shown in Figure 1.

    Figure 1 Changing the policy name

  4. Save and close the file.
  5. Import the xxx.xml file again on the management console by referring to Importing a Policy.