Support
 
PhoneGet Quote
 
Support
 
US Sales: +1 888 720 9500
US Support: +1 844 245 1108
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9890

 
 

How to list all teams using Microsoft Graph

To list all the teams in your organization using the Microsoft Graph, one has to first retrieve the list of groups that have teams and then search for team information using the group ID. You can use the method below to retrieve information using the Microsoft Graph Explorer.

List all groups

  1. GET https://graph.microsoft.com/v1.0/groups?$select=id,resourceProvisioningOptions

The above method will return the list of groups in your organization. The groups which have the value "Team" for the parameter resourceProvisioningOptions, are groups which have a team.

  1. {
  2. "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups(id,resourceProvisioningOptions)",
  3. "value": [
  4. {
  5. "id": "02bd9fd6-8f93-4758-87c3-1fb73740a315",
  6. "resourceProvisioningOptions": [
  7. "Team"
  8. ]
  9. },
  10. {
  11. "id": "0a53828f-36c9-44c3-be3d-99a7fce977ac",
  12. "resourceProvisioningOptions": []
  13. },
  14. {
  15. "id": "1381c058-2ee8-41ce-a005-aae7d91fe086",
  16. "resourceProvisioningOptions": []
  17. },
  18. {
  19. "id": "13be6971-79db-4f33-9d41-b25589ca25af",
  20. "resourceProvisioningOptions": [
  21. "Team"
  22. ]
  23. },

Note that some unused old Teams that do not have the resourceProvisioningOptions property, may not be available in the response list.

Get Team

Based on the group IDs retrieved by the above method, you can query for further team information using the method below.

  1. GET https://graph.microsoft.com/v1.0/teams/{groupid}

Retrieving the list of all the teams in your organization and their properties using Microsoft Graph API is a cumbersome, multi-step process which requires you to have the appropriate permissions. It is also complex, time-consuming, and error-prone. M365 Manager Plus, helps gain extensive information on Microsoft Teams effortlessly, with its preconfigured reports.

How can M365 Manager Plus help?

M365 Manager Plus offers comprehensive reports that help gain insights on the different facets of Microsoft Teams in a few easy clicks. The results can be filtered to display only the required information.

You can also schedule specific reports to be generated on an hourly, daily, weekly, or monthly basis. You can choose to be notified when the reports are generated and have them delivered straight to your inbox. The reports can also be exported to various formats, including CSV, XLS, PDF, and HTML.

To list all teams using M365 Manager Plus:

  1. Navigate to the Reports tab.
  2. Go to Other Services in the left pane.
  3. Select Teams Reports → All Teams.
  4. Select the required Microsoft 365 Tenant from the drop-down box.
  5. Click Generate Now.

This report offers extensive information on all the teams in your organization. It shows details such as Display Name, Description, Owner, Visibility, Object ID, rules applied to a particular team, and more. Filter the results to view only the required information.

General all teams report

M365 Manager Plus also offers the following reports that can help audit Microsoft Teams.

  • Team Channels
  • Team Members
  • Team Sizes
  • Daily Teams User Count by Device Usage
  • Daily Teams Activities Count by Type
  • Daily Teams User Count by Activity
  • Teams User Daily Activity
  • Teams User Device Usage
  • Teams User Count by Device Type

To know more about Microsoft Teams reporting using M365 Manager Plus, click here.

 

Request Support

Need further assistance? Fill this form, and we'll contact you rightaway.

A holistic Microsoft 365 administration solution