Graph api advanced select

Tom Braarup 21 Reputation points
2021-10-25T12:46:57.84+00:00

Is there a way make advanced select queries in Graph API ?

For example in the Mail Graph API Explorer you can select: from
https://developer.microsoft.com/en-us/graph/graph-explorer?request=me%2Fmessages%3F%24select%3Dfrom&method=GET&version=v1.0&GraphUrl=https://graph.microsoft.com

But you can't go down the tree to get the: from/emailAddress/address

https://developer.microsoft.com/en-us/graph/graph-explorer?request=me%2Fmessages%3F%24select%3Dfrom%2FemailAddress%2Faddress&method=GET&version=v1.0&GraphUrl=https://graph.microsoft.com

The filtering of the output could also be done later in the flow in any programming language but I'd rather not in order to use Graph select queries as parameters.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,575 questions
0 comments No comments
{count} votes

Accepted answer
  1. Diana Wanjuhi 1,376 Reputation points
    2021-10-26T11:16:16.22+00:00

    Hello @Tom Braarup Thank you for reaching out. I tried this in graph explorer and it looks like $select does not support complex type entities.
    $select

    Would you consider filing a feature request on the Microsoft Developer feedback platform so we can look into this?

    Let me know whether this helps and if you have further questions,

    Diana.

    0 comments No comments

1 additional answer

Sort by: Most helpful