I have deployed a based Blue Print but anytime I create another version with an update. I see that my new version is creating a duplicate policy that was created in the base blue print.
I have deployed a based Blue Print but anytime I create another version with an update. I see that my new version is creating a duplicate policy that was created in the base blue print.
@CharlieBrown-6402 Thank you for reaching out, reviewing the scenario you are getting into and will share any learnings I might have at the earliest.
@CharlieBrown-6402 - To further investigate the issue , it might help can you please provide some additional information on your end to end scenario.
In case you are using an ARM template artifact in your Blueprint that defines the Azure Policy definition in the assigned Subscription. One possibility you can either tweak the ARM template so its smart enough not to replace the Azure Policy definition if it already exists (haven't tried this before) , or you could move the Policy out of the ARM template and define it by hand higher in the Management Group hierarchy and just have the Blueprint assign that policy definition.
Please share additional information on your scenario, so that we can help you further on this. Looking forward to hear from you.
open exisitng blueprint edit existing blue print
add artifact
publish blue print
name blueprint with version
Go to Assigned blueprints - Open the previous version blue print
Update Assignment and select updated blueprint
Select Assign
4 people are following this question.