After deploying Blueprint, If I want all newly created resources should be rollback, removed permanently through blue Print, is it possible? if yes, then how? Or do I need to manually go back to the individual resource that was created & removed?
After deploying Blueprint, If I want all newly created resources should be rollback, removed permanently through blue Print, is it possible? if yes, then how? Or do I need to manually go back to the individual resource that was created & removed?
Welcome to Microsoft Q&A! Thanks for posting the question.
The best way to achieve removal of resources from the blueprints is to group the artifacts (ARM template which deploys resources, policy and role assignment) under a resource group. In this case, when you would like to remove the deployed artifacts, you would only have to delete the resource group and the contained resources will be removed. You may refer to this link for a quick overview of blueprints and demo.
edit 01/04/2022:
The functionality to be able to remove resources will be available through the new Deployment Stacks resource type, which is what Blueprints are eventually going to use under the covers.
You can get more information about it from this video link.
The QnA thread here also has some additional information that you may review.
Please let me know if you have any question.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.
@Herminderbedi-1032, I wanted to check if you had a chance to review my answer above. Please let me know if you have any queries or concerns.
Please 'Accept as answer' if it helped so that it can help others in the community looking for help on similar topics.
Thanks for the reply. I can understand how to remove deployed resources manual & seems, that is the ONLY one way. MS claim when a resource is deployed from Blueprint, a connection remains between Blueprint & deployed resources, which is a false statement. I want to highlight this to find the solution because sometime it is very painful to remove all deployed recourses manual when it failed.
@Herminderbedi-1032, Thank you for the reply.
I would like to clarify that - with Azure Blueprints, the relationship between the blueprint definition (what should be deployed) and the blueprint assignment (what was deployed) is preserved. This connection supports improved tracking and auditing of deployments. For more information, please refer to this link for more details. Also, using this connection you can inspect resources deployed by the assignment. Please refer to this link for details.
I will further check on the deletion of resources when un-assigning/deleting blueprints, if this is in pipeline and will update this thread.
@Herminderbedi-1032, I got further update on the question as below:
The functionality to be able to remove resources will be available through the new Deployment Stacks resource type, which is what Blueprints are eventually going to use under the covers.
You can get more information about it from this video link.
The QnA thread here also has some additional information that you may review.
I have also updated this information in the Answer above. Please 'Accept as answer' if it helped so that it can help others in the community looking for help on similar topics.
Thanks for the link & information. I have gone through the video link & unable to find such a thing that can help to remove deployed resources via BluePrint. Till now, I ONLY have the option to remove failed deployed resources manually. If you mean, this feature will come in the future then any idea about the period. I am deploying Landing Zone via BluePrint for different clients from time to time. Feedback will help me.
@Herminderbedi-1032, I am sorry for the confusion. Yes, you are right. It is going to be available in future. Currently this is in private preview.
<<Private message Note>>: This is a private message which only you as Original Poster and Microsoft Moderators can view. Please respond directly to this comment to privately connect with us. For your privacy, please do not share any Personal Identifiable Information (PII) as a public comment. All private messages will be periodically deleted from the site.
@Herminderbedi-1032, If you are interested, you can be onboarded to preview of Deployment Stacks using this form https://aka.ms/getStacks.
Thanks for the link. May I know if there are additional charges to opt "preview of Deployment Stacks" as additional feature or a additional tool? that can help removal of failed resources via Blue Print?
@Herminderbedi-1032, thank you for the reply. There are no additional charges for the preview of deployment stacks. You will be charged based on the resources (creation or usage). Please refer to Preview terms of Use for details on terms.
4 people are following this question.