Is there any way to change reference id for built in policy?

ALVIN LEUNG (CLOUD-ISD-OOCLL/HKG) 166 Reputation points
2022-08-08T08:04:21.977+00:00

229036-image.png

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
832 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amol Shelar 421 Reputation points
    2022-08-08T12:52:52.657+00:00

    @ALVIN LEUNG (CLOUD-ISD-OOCLL/HKG)

    Reference ID is the Reference identifier of a specific policy definition within a policy set definition. And for built in policies it cannot be changed. But I am curious to know why do you want to change the reference if of built in policy.

    _Amol Shelar

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 22,251 Reputation points MVP
    2022-08-08T11:44:54.81+00:00

    Hi,
    You have not provided information from where the screenshot is but as I have found out you are looking at policy initiative (policy definition set). Policy initiatives are basically separate policies (policy definitions) that are grouped so you can do single policy assignment and get compliance for all of them under one assignment. Policy initiatives can be built-in or custom ones. The one that are built-in they only group built-in policies and these cannot change. If you create your own custom policy initiative you can provide whatever values you want for reference ID for each policy that is part of your initiative. So you can change that property only if you have custom policy and you can specify that property only on initial creation as one specified cannot be changed without removing the policy from the initiative.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.