question

94460778 avatar image
0 Votes"
94460778 asked Danstan-MSFT answered

Potentialy undocumented changes in Graph API behaviour

Greetings,

I would like to ask if there have been undocumented changes in how the Graph API works in the following two cases:

1)When querying for new email messages using a delta token, it is required to do so within a messageFolder. Has it always been so? I think a few months ago one could query with a delta token for all emails (me/messages/delta).

2)Has something changed in the way the nextLink properties are returned? For example, doing the following query:
https://graph.microsoft.com/v1.0/me/mailFolders?$expand=singleValueExtendedProperties($filter=id eq 'String {00062008-0000-0000-C000-000000000046} Name MyID')&
in the graph explorer (and how I am fairly certain it used to work) it returns the following:
https://graph.microsoft.com/v1.0/me/mailFolders?$expand=singleValueExtendedProperties(%24filter%3did+eq+%27String+%7b00062008-0000-0000-C000-000000000046%7d+Name+MyID%27)&$skip=10
Notice the "$" character in "$expand=singleValueExtendedProperties...". In the actual response however I get this:
https://graph.microsoft.com/v1.0/me/mailFolders?%24expand=singleValueExtendedProperties(%24filter%3did+eq+%27String+%7b00062008-0000-0000-C000-000000000046%7d+Name+MyID%27)&%24skip=10
The "$" character has been escaped and replaced with %24. Has this always been so?

Thank you for your time.

microsoft-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.

1 Answer

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered

On your second question, %24 is the URL encoding of $ symbol. So both /me/mailFolders?%24select=displayName and /me/mailFolders?$select=displayName are the same thing and Graph will resolve them to the expected operation. Also note that nextLink is meant to be used by Graph and you should not worry about it as its meant to be just received and sent as is.

On the first question, I don't remember delta being supported on me/messages/delta. If you have a document reference that can or details please share.



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.