1

I wonder does the subscriptions (Microsoft Graph API) have a limited or unlimited lifetime? Is there any related documentation or guidance available for this... I failed to find one.

Alice
  • 51
  • 4
  • 1
    Yes, Subscriptions for Microsoft Graph have a limited lifetime. For a list of maximum expiration times, see Maximum length of subscription per resource type documentation - (https://learn.microsoft.com/en-us/graph/webhooks#subscription-lifetime). – Dev Nov 10 '20 at 19:29
  • Thanks @Dev. It answers my question!! – Alice Nov 10 '20 at 19:32
  • Have a side question. What about apps/clients? – Alice Nov 10 '20 at 19:33
  • 1
    Apps need to renew their subscriptions before the expiration time. Otherwise, they need to create a new subscription. Apps can also unsubscribe at any time to stop getting change notifications. Clients can create subscriptions, renew subscriptions, and delete subscriptions. – Dev Nov 10 '20 at 19:35
  • Awesome. Thanks for your help @Dev!! You rock!! – Alice Nov 10 '20 at 19:37
  • Glad to hear the above helped!! – Dev Nov 10 '20 at 19:38
  • I will move this to answer. Please upvote, so it can be useful to others... – Dev Nov 10 '20 at 19:41

1 Answers1

1
  • Yes, Subscriptions in Microsoft Graph have a limited lifetime.
  • For a list of maximum expiration times, see Maximum length of subscription per resource type documentation.
  • Apps need to renew their subscriptions before the expiration time. Otherwise, they need to create a new subscription. Apps can also unsubscribe at any time to stop getting change notifications. Clients can create subscriptions, renew subscriptions, and delete subscriptions.
Dev
  • 2,428
  • 2
  • 14
  • 15