Expiry details for the DeltaToken Used in Delta query to track changes
We are currently using Delta Query to track the changes of groups and users.
We are using delta token either by getting the latest token or by following the 2 step procedure mentioned in the guidelines below.
https://learn.microsoft.com/en-us/graph/delta-query-overview
https://learn.microsoft.com/en-us/graph/delta-query-groups?tabs=http
We are able to get the track changes successfully using above two methods.
Following are the queries which we have w.r.t to Delta Token's
- What is the expiry date for the delta token we got from latest token api ($deltaToken=latest) ?
- What is the expiry date for the delta token we got from 2 step procedure (@odata.deltaLink) ?
- is there any way to check if the token that we have got is expired or active ? any api ?
- If we are using any expired token do we get any error while using it in API's or SDK's
In one of the article
we see that expiration of delta token is 7 days.
But we did little bit experimenting and tried to use token which is 2 weeks old and it was working
So we needed clarity on expiration of deltatoken that we get in both the methods.
Can you please help us on this regard on getting the answers.
-Thanks
Krishna