Search code examples
outlookmicrosoft-graph-apioutlook-restapi

Outlook Graph API not receiving groups


What I am trying to achieve - When I call message API, it returns the group address to which mail is sent, I want to get the members of the group, And for that I believe I need group Id, so I am using the groups API mentioned below https://graph.microsoft.com/v1.0/groups

But this API returns an empty list to me.

Note: email I using is @outlook.com, not xyz.com.


Solution

  • The Microsoft graph API doesn't support personal accounts as you can see the below image. You should have a Work account to get the group details. You were able to get the messages because it supports personal accounts to read messages from your mailbox.

    enter image description here