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 Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  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
  1. Tom Braarup 21 Reputation points
    2021-10-26T11:49:28.74+00:00
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.