question

TomBraarup-0821 avatar image
0 Votes"
TomBraarup-0821 asked TomBraarup-0821 answered

Graph api advanced select

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-sdkmicrosoft-graph-mail
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DianaWanjuhi-1579 avatar image
0 Votes"
DianaWanjuhi-1579 answered

Hello @TomBraarup-0821 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.



complexselect.png (43.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TomBraarup-0821 avatar image
0 Votes"
TomBraarup-0821 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.