Forum Discussion
CaioCesar
May 20, 2020Copper Contributor
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!
- May 20, 2020
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.
CaioCesar
May 20, 2020Copper 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.
VasilMichev
May 20, 2020MVP
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.