Hi Tom
Thanks for using the Q&A platform.
Defender for Cloud’s malware scanning feature uses Event Grid subscriptions to scan blobs on upload or on demand. When malware scanning is disabled or if a storage account is deleted, Defender automatically removes those EventGrid subscriptions to clean up resources. The activity log shows “Delete EventSubscription”, even though you didn’t trigger it manually, the scanner resource provider performed it as part of its cleanup routine.
Defender might try to access stale resources, log an alert, and then clean them up; hence, the delete events are showing in your activity log. Kindly note that these are safe and expected cleanup operations.
Find additional information: https://learn.microsoft.com/en-us/azure/defender-for-cloud/introduction-malware-scanning
https://learn.microsoft.com/en-us/azure/governance/policy/samples/resource-graph-samples?tabs=azure-cli#policy-exemptions-that-expire-within-90-days
If the response was helpful, please feel free to mark it as “Accepted Answer” and consider giving it an upvote. This helps others in the community as well.
Regards,
Obinna.