Forum Discussion
Notify when a end user create a public group
I need to create a rule that notifies administrators when a public team is created in Microsoft Teams.
What would be the best way to accomplish this task?
Any suggestion?
Thank you!
You can configure an Activity alert/Alert policy: https://docs.microsoft.com/en-us/microsoft-365/compliance/alert-policies?view=o365-worldwide
Or you can periodically query the audit log via PowerShell and fetch the "group created" events.
3 Replies
You can configure an Activity alert/Alert policy: https://docs.microsoft.com/en-us/microsoft-365/compliance/alert-policies?view=o365-worldwide
Or you can periodically query the audit log via PowerShell and fetch the "group created" events.
- CaioCesarCopper Contributor
I tried to configure the alert policy for creating groups, but there is no way to check if the team is public or private.
And from what I saw in the docs, I think there is no way to reach that level of detail with the creation of alerts.
Thanks for the support.
Well yeah, that's if you are after an easy solution. If you want a more robust one, you have to capture the events yourself - all the information you need is within the event properties.