Microsoft Azure – Preventing Changes to Resources in Azure App Services
In this article, we will look into the process of preventing changes to resources in the Azure App Service. You can make use of locks inside of an Azure App Service to prevent other users in your organization from accidentally deleting or modifying critical resources.
Follow the below steps to prevent accidental modification to Azure App service using locks:
Step 1: Inside my App Service, go and search for locks. As you can see in the below image we have no locks to find.
Step 2: Here we could hit the “Add” button to create a new lock.
Step 3: Then give the lock a name and select the “Lock type.”
Locks could either be “Read-only” or they could be “Delete”.
Note: If we select “Delete”, that means that users are able to update things inside of our App Service instance, but they’re not allowed to delete it. Or we could set it to “Read-only”, which means that they can only see what’s been set up, but they can’t change anything.
Step 4: Here, we can actually give notes and then click on the “OK” button.
Now, the lock has been applied to our App Service instance as shown below: