I'm a little stuck.
I'm trying to create an Azure Activity Alert for each Security and User group that's created in an M365 Tenant.
The plan is to create an Azure Automation that'll be triggered by the alert and create a periodic access review of the new group.
However, I can't see an event type other than 'Create or Modify group' in alert rules, but this (Microsoft example) query does not work.
I've looked at other rules and creating my own but I can't find anything that'll surface my test groups I'm creating.
Has anyone got any experience with this?
You can follow the steps below to create an alert, if anyone creates, modifies, or deletes the
Azure ADgroup.Create a Log Analytics workspace and attach it to
Azure ADGo to Microsoft Entra ID > Diagnostic settings > add Diagnostic setting.
KQLquery to retrieveAudit logsOutput:
Create an Action Group.
Fill the alert rule details.
After completing all the specified steps, if anyone creates, modifies, or deletes the
Azure ADgroup, you will receive an email at the specified address mentioned in the action group.