Change notifications lifetime to be longer

Vee 0 Reputation points
2023-08-22T08:14:59.7166667+00:00

Hi All,

I am using Microsoft graph change notification to monitor the changes of Outlook, Teams, OneDrive, and Sharepoint. Always hit the throttling issue with more traffics. How can we manage the throttling for this scenario? Any recommendation to avoid this issue?

Also the subscription lifetime is up to 3 days. Is there anyway to make the lifetime longer than 3 days? How can we manage this change notifications subscription issue?

Thank you for your help.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,486 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msft-gu 1,355 Reputation points
    2023-09-02T01:31:16.0766667+00:00

    Hello Vee,

    Good day and thank you for your question.

    For throttling, to avoid it and for best practices, please refer to https://learn.microsoft.com/en-us/graph/throttling.

    For the subscription lifetime, mostly, it is under 3 days (4,230 minutes). It is also noted that:

    Note: Existing applications and new applications should not exceed the supported value. In the future, any requests to create or renew a subscription beyond the maximum value will fail.

    Reference: https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0#maximum-length-of-subscription-per-resource-type

    0 comments No comments

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.