Ensure that your production or mission critical Azure AI Foundry instances have resource locks enabled so that non-admin users are not able to delete or modify your instances in order to help prevent accidental and malicious changes or resource deletion.
Azure resource locks enable you to restrict operations on production Azure AI Foundry instances where modifying or deleting a resource would have a significant negative impact on the entire system. As an Azure account administrator, it may be necessary to lock an important cloud resource in order to prevent other users within your organization from mistakenly deleting or modifying the resource. A resource lock can have one of the following types:
- "CanNotDelete" – when authorized users can still read and modify a cloud resource, but they can't delete the resource.
- "ReadOnly" – when authorized users can read a cloud resource, but they can't delete or update the resource. Using this resource lock level is similar to restricting all authorized users to the permissions granted by the "Reader" role.
Audit
To determine if your production AI Foundry instances have resource locks configured, perform the following operations:
Azure Portal (Azure Console) does not currently support checking for resource locks on Azure AI Foundry instances.Remediation / Resolution
To enable resource locks for your production or mission critical Microsoft Azure AI Foundry instances, perform the following operations:
Azure Portal (Azure Console) does not currently support enabling resource locks for Azure AI Foundry instances.References
- Azure Official Documentation
- Recover or purge deleted Azure AI Foundry resources
- Lock your Azure resources to protect your infrastructure
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az cognitiveservices account list
- az lock list
- az lock create
- az lock delete