question

CharlieBrown-6402 avatar image
0 Votes"
CharlieBrown-6402 asked bharathn-msft commented

BluePrint Applying Updated Version

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.

azure-blueprints
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@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.

0 Votes 0 ·

@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.

0 Votes 0 ·

1 Answer

CharlieBrown-6402 avatar image
1 Vote"
CharlieBrown-6402 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.