Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » How to Add a Delete Lock on Azure Resources
  • Untitled Design 25
    Install and Configure Hyper-V on Windows Server Server 2019, and 2022 via the Server Manager, PowerShell or DISM Virtualization
  • create a Lenovo USB Recovery key
    Windows 10 Yoga Recovery: Download the files needed to create a Lenovo USB Recovery key Windows
  • Screenshot 2020 06 25 at 23.38.40
    What is Registry Editor and how to access the registry hives Windows
  • posfix as an smtp server
    How to Install and Configure Postfix as a Send-Only SMTP Server Linux
  • Fix Boot Failed UEFI SCSI Device on HyperV
    How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
  • Delete AWS EBS Volume
    How to delete an Elastic Block Store Volume on AWS AWS/Azure/OpenShift
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • BitLocker removal on Windows Server
    How to correctly disable BitLocker on Windows Server Windows Server

How to Add a Delete Lock on Azure Resources

Posted on 27/12/202528/12/2025 Link State By Link State No Comments on How to Add a Delete Lock on Azure Resources
Set a Resource Delete Lock

In this guide, we shall discuss “how to Add a Delete Lock on Azure Resources”. Protecting resources in an Azure environment is a critical aspect of ensuring operational continuity and minimizing the risk of accidental modifications or deletions. Among the available strategies, the Delete Lock is a simple yet effective tool to prevent the unintentional removal of critical resources. Please, see How to disable Lock Screen on Windows 10, and how to Fix MDT accidental OS deletion.

This guide focuses on implementing a Delete Lock on an Application Gateway resource. This provides step-by-step instructions on how to configure protection and manage its operational implications.

While the focus is on this specific resource, the guidance provided is applicable to a wide range of Azure resources. This enables administrators to adopt a consistent and secure approach to cloud infrastructure management.

Readers will find detailed explanations of lock functionalities, practical implementation examples, and best practices for correct usage in real-world scenarios, aiming to ensure protection without compromising operational flexibility.

Also, see How to Lock the Find My Device Option in Windows 11, and how to Delete or Rename and Create a Protected Organisation Unit in AD. Here is how to disable automatic screen lock in Ubuntu Linux.

Azure Lock Types

Below are two type of lock

  • CanNotDelete means authorized users can read and modify a resource, but they can’t delete it.
  • ReadOnly means authorized users can read a resource, but they can’t delete or update it. Applying this lock is similar to restricting all authorized users to the permissions that the Reader role provides.

Select the resource to protect against accidental deletion. In this example, we will apply a Delete Lock to an Azure Application Gateway.

image002-min

Navigate to the “Lock” menu and click on Add.

image004-min

Since we are creating a Delete Lock, fill in the fields highlighted in yellow

image006-min

Click OK to create the lock rule.

image008-min

In this way, accidental deletion is prevented, protecting against human errors or automation mistakes.

I hope you found this guide on “how to Add a Delete Lock on Azure Resources” very useful. Feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure Resource Lock, Azure Resource Lock: Prevent Accidental Deletes, Azure Tutorial: Set a Resource Delete Lock, How to Create a Delete Lock in Azure, Prevent Accidental Deletes, Protect Azure Resources with a Delete Lock

Post navigation

Previous Post: How to Resolve New WDAC Policy Issues in Azure Stack
Next Post: Harden Active Directory Using CIS Benchmark and MSCT 1.0

Related Posts

  • image 81
    How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
  • Angular Azure
    How to deploy your Angular App to Azure from Visual Studio Code AWS/Azure/OpenShift
  • s3versioning
    Hosting Static Website and Versioning on AWS S3 AWS/Azure/OpenShift
  • image 11
    Setting Up your Amazon S3 Glacier and FastGlacier for Your Online Vault AWS/Azure/OpenShift
  • FEATUREDC
    How to create Confidential VMs in Azure AWS/Azure/OpenShift
  • FEATUREIMAGE
    How to work with Azure Cognitive Service AWS/Azure/OpenShift

More Related Articles

image 81 How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
Angular Azure How to deploy your Angular App to Azure from Visual Studio Code AWS/Azure/OpenShift
s3versioning Hosting Static Website and Versioning on AWS S3 AWS/Azure/OpenShift
image 11 Setting Up your Amazon S3 Glacier and FastGlacier for Your Online Vault AWS/Azure/OpenShift
FEATUREDC How to create Confidential VMs in Azure AWS/Azure/OpenShift
FEATUREIMAGE How to work with Azure Cognitive Service AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Untitled Design 25
    Install and Configure Hyper-V on Windows Server Server 2019, and 2022 via the Server Manager, PowerShell or DISM Virtualization
  • create a Lenovo USB Recovery key
    Windows 10 Yoga Recovery: Download the files needed to create a Lenovo USB Recovery key Windows
  • Screenshot 2020 06 25 at 23.38.40
    What is Registry Editor and how to access the registry hives Windows
  • posfix as an smtp server
    How to Install and Configure Postfix as a Send-Only SMTP Server Linux
  • Fix Boot Failed UEFI SCSI Device on HyperV
    How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
  • Delete AWS EBS Volume
    How to delete an Elastic Block Store Volume on AWS AWS/Azure/OpenShift
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • BitLocker removal on Windows Server
    How to correctly disable BitLocker on Windows Server Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.