Need pointer on renewing change notification subscription

Ingmar Shidqi 21 Reputation points
2024-02-22T07:37:14.65+00:00

I am developing an app that has Outlook message synchronization using a Graph API change notification subscription. It is mentioned in this doc that the expiration for message subscription has a maximum value of 3 days, and it needs to be renewed by responding to lifecycle events. However, in the scenario where the user did not sign in to the app for more than 3 days, the app will have no access to renew the subscription. Through reading the docs I know that I have the option to use application permission, that way the app can authenticate without a user. But application permission requires admin permission, so I want to avoid that as much as possible, also application permission grants access to all inboxes in the user's tenant instead of a specific account, that's overkill for my purpose. Is there any other way I can renew change notification subscriptions without the user signing in and without using application permission?

Outlook
Outlook
A family of Microsoft email and calendar products.
4,503 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,309 questions
0 comments No comments
{count} votes

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.