Graph API message: delta doesn't reflect the select queries inside the expand

Kuo Ian 1 Reputation point
2023-08-09T04:32:03.1833333+00:00

I am working on this endpoint.

https://learn.microsoft.com/en-us/graph/api/message-delta?view=graph-rest-1.0&tabs=http

According to the documentation

  • Delta query support $select, $top, and $expand for messages.

I've tried to send a request to following:
https://graph.microsoft.com/beta/me/mailFolders/inbox/messages/delta?$expand=attachments($select=id,name,contentType,size)

But I can see that the select didn't work, and it still listed up everything parameter.

Outlook Windows Classic Outlook for Windows For business
Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. msft-gu 1,355 Reputation points
    2023-08-10T00:24:33.0933333+00:00

    Hello Kuo,

    Good evening and thank you for your question. Can I please know if it was working before when you used it? I also tried /me/mailFolders/inbox/messages/delta?$expand=attachments($select=id,name,contentType,size) on v1.0 or beta and I have the same results in which it listed up all parameters.

    Although I tested this on /me/onenote/sections?$expand=parentNotebook($select=id,displayName,self) and listed all parameters also. Please create a ticket so that we can further investigate and verify this or let us wait for the community if they can provide additional input.

    1 person found this answer helpful.

Your answer

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