How can you create a resource in such a way so that a user with RBAC Owner role cannot delete it?
Experience Level: Senior
Tags: Azure BlueprintsAzure Cloud
Answer
Use Azure Blueprint, resource locking feature.
Using Azure Blueprins you can create resources in subscription automatically. Thanks to resource locking you can make the resource locked so that Owner cannot delete it.
You can set the following states using resource locking:
- Not Locked,
- Read Only,
- Cannot Edit / Delete
- Cannot Delete.
Related Azure Cloud job interview questions
According to Microsoft Cloud Adoption Framework (CAF), what are the three specific terms related to Management phaze that can help improve conversations among business stakeholders?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat are 6 key steps for establishing a management baseline according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat is management baseline according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat are the 5 disciplines of cloud governance according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorIs Cloud Security Posture Management (CSPM) available for all Azure Subscriptions?
Microsoft Defender Junior