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

 
 

List group objects and their properties using Microsoft graph

Operation: List group

Description: The 'List group' request will return all the groups in an organization. However, not all the properties of the group arO returned. only a subset of the properties such as group ID, group type, and display name are fetched. Group members and owner details cannot be viewed using this request.

Request:

  1. GET https://graph.microsoft.com/v1.0/groups

Response:

  1. HTTP/1.1 200 OK
  2. Content-type: application/json
  3. {
  4. "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups",
  5. "value": [
  6. {
  7. "id": "45b7d2e7-b882-4a80-ba97-10b7a63b8fa4",
  8. "deletedDateTime": null,
  9. "classification": null,
  10. "createdDateTime": "2018-12-22T02:21:05Z",
  11. "creationOptions": [],
  12. "description": "Self help community for golf",
  13. "displayName": "Golf Assist",
  14. "groupTypes": [
  15. "Unified"
  16. ],
  17. "mail": "golfassist@contoso.com",
  18. "mailEnabled": true,
  19. "mailNickname": "golfassist",
  20. "onPremisesLastSyncDateTime": null,
  21. "onPremisesSecurityIdentifier": null,
  22. "onPremisesSyncEnabled": null,
  23. "preferredDataLocation": "CAN",
  24. "proxyAddresses": [
  25. "smtp:golfassist@contoso.onmicrosoft.com",
  26. "SMTP:golfassist@contoso.com"
  27. ],
  28. "renewedDateTime": "2018-12-22T02:21:05Z",
  29. "resourceBehaviorOptions": [],
  30. "resourceProvisioningOptions": [],
  31. "securityEnabled": false,
  32. "visibility": "Public",
  33. "onPremisesProvisioningErrors": []
  34. },
  35. {
  36. "id": "d7797254-3084-44d0-99c9-a3b5ab149538",
  37. "deletedDateTime": null,
  38. "classification": null,
  39. "createdDateTime": "2018-11-19T20:29:40Z",
  40. "creationOptions": [],
  41. "description": "Talk about golf",
  42. "displayName": "Golf Discussion",
  43. "groupTypes": [],
  44. "mail": "golftalk@contoso.com",
  45. "mailEnabled": true,
  46. "mailNickname": "golftalk",
  47. "onPremisesLastSyncDateTime": null,
  48. "onPremisesSecurityIdentifier": null,
  49. "onPremisesSyncEnabled": null,
  50. "preferredDataLocation": "CAN",
  51. "proxyAddresses": [
  52. "smtp:golftalk@contoso.onmicrosoft.com",
  53. "SMTP:golftalk@contoso.com"
  54. ],
  55. "renewedDateTime": "2018-11-19T20:29:40Z",
  56. "resourceBehaviorOptions": [],
  57. "resourceProvisioningOptions": [],
  58. "securityEnabled": false,
  59. "visibility": null,
  60. "onPremisesProvisioningErrors": []
  61. }
  62. ]
  63. }

Operation: List members

Description: Shows the details of all the members of the specified group. This request can return maximum of 200 records.

  1. GET https://graph.microsoft.com/v1.0/groups/{id}/members

Operation: List owners

  1. GET https://graph.microsoft.com/v1.0/groups/{id}/owners

Description: Shows the details of the owners of the specified group. This request can return maximum of 200 records.

Why graph API is not a good option

  • Incomprehensible results: The response returned by the MS Graph Explorer will be in JSON format which is difficult to comprehend.
  • Difficulty in handling bulk results: When the result spans multiple pages, the graph explorer returns links to those pages instead of displaying all the records.
  • Non-user friendly: Users need a third-party tool to view the response of the graph explorer in graphical or tabular format.
  • Need of expertise: In-depth coding knowledge is required to customize the requests for specific needs.

Get Microsoft 365 group reports using M365 Manager Plus

Why juggle multiple scripts to know about a single group? M365 Manager Plus provides more than 700 pre-defined reports on Exchange Online, Azure AD, MS Teams, Yammer, and other Microsoft 365 services which are way easier to generate and customize than the results returned by the graph explorer.

It has a dedicated set of reports to know all about the groups in your organization. And the best part is, you need not write even a single line of code. All the required details are presented to you in a detailed tabular format accompanied with a graphical view of the report.

Refer the image below to know about the group reports provided by M365 Manager Plus.

Microsoft 365 group reports

Highlights of M365 Manager Plus:

  • Advanced filters: Use attribute and condition-based filters to get the data you need without lengthy PowerShell scripts.
  • Reports on historical data: API requests can only retrieve data that's at least seven days old and no older than 180 days. But, M365 Manager Plus reports can fetch all data right from its installation.
  • Customizable dashboard: M365 Manager Plus dashboard is customizable. Generate graphical reports to get a quick peek at the mail traffic summary, top email senders and receivers, client device usage, and more. This dashboard can be embedded in any of your web pages to enable constant monitoring.
  • Report scheduler: Schedule report generation at regular intervals to reduce the overhead.
  • Report export: The reports can be exported to PDF, XLSX, HTML, or CSV formats and redistributed via emails to the administrators.
  • Secure delegation: Securely delegate report generation to technicians and IT staff without giving them full access to the Microsoft 365 Admin Center.

Microsoft 365 all groups report

 

Request Support

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

A holistic Microsoft 365 administration solution