Forum Discussion
Maheshwar Tayal
Nov 12, 2019Iron Contributor
How can we find default owner of a Team
When there are Multiple owners for a Team, How can we find who created the Team (which I believe will the default owner)
-
Customer can push their Azure AD and O365 Unified Audit Log records to Azure Sentinel (Log Analytics under the hood). Who initiated the creation of an O365 Group / team as well as what endpoint (SPO, EXO, Teams, etc.) was it created from can be found with the following query in Azure AD audit logs in Log Analytics: https://github.com/BrianTJackett/log-analytics-samples/blob/master/Queries/Office365GroupCreationInitiatedBy.kqlYou might be able to find similar data directly through the Azure AD audit logs, but there is no Graph API call for that. The operation you would be looking for would be "Add group" though.
-
- CoachOffice365Brass ContributorI would take a look at the top of the General channel for checking who created the first channel, if any, besides the General channel. It will say "NN created channel X" and hopefully that person was also the one having created the Team. Not foolproof, but hopefully useful to some degree.
- Andrew HodgesBronze Contributor
Hi Maheshwar Tayal ,
I have not seen a distinction between an owner and the owner that created the team.
One way for sure to tell who created the team is to look in the audit logs in the security and compliance centre and use the "Create Team" action.
Generally the Owner is the first person to post to the team about creating tabs etc.
Hope that helps
- Maheshwar TayalIron Contributor
Hi
Audit logs are not for ever
so is there any other way
Thanks!
- Andrew HodgesBronze Contributor
- Ashish TrivediBrass Contributor
-
Customer can push their Azure AD and O365 Unified Audit Log records to Azure Sentinel (Log Analytics under the hood). Who initiated the creation of an O365 Group / team as well as what endpoint (SPO, EXO, Teams, etc.) was it created from can be found with the following query in Azure AD audit logs in Log Analytics: https://github.com/BrianTJackett/log-analytics-samples/blob/master/Queries/Office365GroupCreationInitiatedBy.kqlYou might be able to find similar data directly through the Azure AD audit logs, but there is no Graph API call for that. The operation you would be looking for would be "Add group" though.
- Maheshwar TayalIron Contributor
Thanks!
How long by default Audit Log history can store in case we do not use Azure Sentinel.
My Teams were created 2 years back, can we still get default owner details
Thanks!
-
- bhlevcaCopper Contributor
Maheshwar Tayalhere are the steps:
- Click on the 3 horizontal dots to the right of the Team's name
- in the pop up box choose Manage Team
- In the new page click on the Members tab if not already selected
- In the first section in the page you will see Owners
- The first owner is usually the one who created the team