Query Details
AzureActivity | where OperationNameValue == "StopWebSite" or OperationName == "DeleteWebSite" or OperationNameValue == "MICROSOFT.WEB/SITES/DELETE" | where ActivityStatusValue startswith "Succe" or ActivityStatusValue startswith "accept" //Azure Activity must be enabled https://learn.microsoft.com/en-us/azure/azure-monitor/platform/activity-log?tabs=log-analytics
This query is searching through Azure Activity logs to find records of specific operations related to websites. It looks for activities where a website was stopped or deleted. Additionally, it filters these activities to only include those that were successful or accepted.

Jay Kerai
Released: September 5, 2025
Tables
Keywords
Operators