SOLVED

Exporting Teams group information

Copper Contributor

Hi there

 

I would like to know more information about a Teams group. I have a mix of groups created manually by users and by using School Data Sync. I wanted to export a CSV report perhaps that contains information of the groups such as who created this group, when was it created, and so on. My objective is to do a section cleanup using SDS but I do not want to mistakenly remove groups from active users.

 

I'm not sure if this has been asked before specifically. Apologies if it has been asked before.

 

Many thanks,

Kev

2 Replies
best response confirmed by Christopher Hoard (MVP)
Solution
Have you had a look at the group expiration feature?

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-lifecycle

Otherwise you have to try find hkw to pull the data from Microsoft graph or power shell! I’m not sure about the information you need though

https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0

See this thread too:

https://techcommunity.microsoft.com/t5/microsoft-teams/get-who-created-a-office-365-team-via-powersh...

Adam
Thank you Adam. I will look into the links you've shared. Your response is much appreciated.

Many thanks,
Kev
1 best response

Accepted Solutions
best response confirmed by Christopher Hoard (MVP)
Solution
Have you had a look at the group expiration feature?

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-lifecycle

Otherwise you have to try find hkw to pull the data from Microsoft graph or power shell! I’m not sure about the information you need though

https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0

See this thread too:

https://techcommunity.microsoft.com/t5/microsoft-teams/get-who-created-a-office-365-team-via-powersh...

Adam

View solution in original post