SOLVED

Notify when a end user create a public group

%3CLINGO-SUB%20id%3D%22lingo-sub-1405798%22%20slang%3D%22en-US%22%3ENotify%20when%20a%20end%20user%20create%20a%20public%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1405798%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20to%20create%20a%20rule%20that%20notifies%20administrators%20when%20a%20public%20team%20is%20created%20in%20Microsoft%20Teams.%3CBR%20%2F%3EWhat%20would%20be%20the%20best%20way%20to%20accomplish%20this%20task%3F%3CBR%20%2F%3EAny%20suggestion%3F%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1405798%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGroups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1406138%22%20slang%3D%22en-US%22%3ERe%3A%20Notify%20when%20a%20end%20user%20create%20a%20public%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1406138%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20configure%20an%20Activity%20alert%2FAlert%20policy%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Falert-policies%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Falert-policies%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EOr%20you%20can%20periodically%20query%20the%20audit%20log%20via%20PowerShell%20and%20fetch%20the%20%22group%20created%22%20events.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1406301%22%20slang%3D%22en-US%22%3ERe%3A%20Notify%20when%20a%20end%20user%20create%20a%20public%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1406301%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20configure%20the%20alert%20policy%20for%20creating%20groups%2C%20but%20there%20is%20no%20way%20to%20check%20if%20the%20team%20is%20public%20or%20private.%3C%2FP%3E%3CP%3EAnd%20from%20what%20I%20saw%20in%20the%20docs%2C%20I%20think%20there%20is%20no%20way%20to%20reach%20that%20level%20of%20detail%20with%20the%20creation%20of%20alerts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1406355%22%20slang%3D%22en-US%22%3ERe%3A%20Notify%20when%20a%20end%20user%20create%20a%20public%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1406355%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20yeah%2C%20that's%20if%20you%20are%20after%20an%20easy%20solution.%20If%20you%20want%20a%20more%20robust%20one%2C%20you%20have%20to%20capture%20the%20events%20yourself%20-%20all%20the%20information%20you%20need%20is%20within%20the%20event%20properties.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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!

3 Replies
best response confirmed by CaioCesar (New Contributor)
Solution

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.

@Vasil Michev 

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.