# Ensure that Activity Log Alert exists for Delete Policy Assignment

- Source: https://support.icompaas.com/support/solutions/articles/62000229913-ensure-that-activity-log-alert-exists-for-delete-policy-assignment
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [General](https://support.icompaas.com/support/solutions/62000037933) › [Azure Compliance / Control / Check](https://support.icompaas.com/support/solutions/folders/62000168797)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Description:

Create an Azure Activity Log Alert to detect when a Policy Assignment is deleted in a subscription. This ensures visibility into governance changes and prevents unnoticed removal of policy enforcement.

  

Rationale:

Monitoring delete events for Policy Assignments provides insight into changes made within Azure Policy – Assignments and helps reduce the time needed to detect unauthorized or accidental deletions. This improves security posture and ensures governance controls are restored quickly.

  

Impact:

Enabling this alert provides immediate notification when policy assignments are deleted, improving visibility and control. It helps detect unauthorized changes, supports compliance audits, reduces security risks, and enables faster incident response to policy enforcement gaps.

  

Default value:

By default, no monitoring alerts are configured for deleting Policy Assignments in Azure.

  

Test Plan:

1.  Sign in to the Azure Portal at [https://portal.azure.com](https://portal.azure.com/) 
    
2.  Navigate to Monitor
    
3.  Select Alerts
    
4.  Open Alert rules
    
5.  Verify an Activity Log Alert exists for the operation "Delete policy assignment"
    
6.  Verify the alert scope is set to the required subscription
    
7.  Verify that an Action Group is associated
    
8.  If no alert exists or the scope is incorrect, follow the implementation steps
    

  

Implementation steps:

1.  Sign in to the Azure Portal at [https://portal.azure.com](https://portal.azure.com/) 
    
2.  Navigate to Monitor
    
3.  Select Alerts
    
4.  Click Create and select Alert rule
    

![](https://support.icompaas.com/assets/kb/bafe014470d31764.png)

5.  Under Scope, select the target subscription
    
6.  Under Condition, select Activity Log
    
7.  Set Category to Policy
    
8.  Under Condition, click See all signals, search for Operation name "Delete policy assignment", and select the signal.
    

![](https://support.icompaas.com/assets/kb/523ed652c19801b7.png)

9.  Apply the condition
    
10.  Under Actions, select an existing Action Group or create a new one
     
11.  Under Details, select a resource group and provide an alert rule name
     

![](https://support.icompaas.com/assets/kb/1e88173b063fc03c.png)

12.  Click Review + Create
     
13.  Click Create
     

  

Backout Plan:

1.  Sign in to the Azure Portal at [https://portal.azure.com](https://portal.azure.com/) 
    
2.  Navigate to Monitor
    
3.  Select Alerts
    
4.  Open Alert rules
    
5.  Locate the Activity Log Alert for "Delete policy assignment."
    
6.  Delete the alert rule
    
7.  Confirm the deletion
    

  

Reference:

-   [https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log)
    
-   [https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-activity-log](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-activity-log)
    
-   [https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview)
    
-   [https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-group](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
