Microsoft Graph API to get change notifications for messages

Nikita Ustiuzhanin 21 Reputation points
2021-07-02T10:21:12.607+00:00

Hello

I'm trying setup webhook for receiving changes about outlook messages(email). I've got issue that my webhook not always called.
Most of the time when email is created in outlook i'm receiving POST request to my webhook and i can parse it. But sometimes it's just not called at all.
Is it possible that problem is on outlook side? What should i look at my side?

Thenk you

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,640 questions
0 comments No comments
{count} votes

Accepted answer
  1. Diana Wanjuhi 1,376 Reputation points
    2021-07-05T07:07:01.827+00:00

    Hello @Nikita Ustiuzhanin thank you for reaching out. Missing change notifications can happen due to a number of reasons:

    • User's password has been reset
    • User's device is out of compliance
    • User's account has been revoked

    When such an event happens, Microsoft Graph sends a special lifecycle notification, subscriptionRemoved. Microsoft Graph also sends another lifecycle notification, missed, if a change notification cannot be delivered to an app. Please see documentation on webhooks-lifecycle to see how to handle these notifications to ensure continuity.

    Please let me know whether this helps and if you have further questions,

    Diana.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.