question

RamVerma-7460 avatar image
0 Votes"
RamVerma-7460 asked saldana-msft edited

New email notification is taking a long time after creating a subscription for email using graph API

New email notification is taking a long time after creating a subscription for email using graph API. As per my observation, initially, it takes 4-5 hours after that it's almost real-time. Please let me know what should be the actual behavior, ideally, it should be real-time always.
Below are the subscription details.

{
"id": "8e4cf74c-c331-4f72-9843-bc0f4b29552s",
"resource": "users/5845ce0a-f5ce-4a2f-8412-67ec56b4104f/messages",
"applicationId": "app-id",
"changeType": "created",
"clientState": null,
"notificationUrl": "https://base-url/subscription/10854/notification",
"notificationQueryOptions": null,
"lifecycleNotificationUrl": null,
"expirationDateTime": "2022-04-10T03:23:57.987Z",
"creatorId": "ff749d71-9e76-4536-a8ws-037901832257",
"includeResourceData": null,
"latestSupportedTlsVersion": "v1_2",
"encryptionCertificate": null,
"encryptionCertificateId": null,
"notificationUrlAppId": null
}

microsoft-graph-sdkmicrosoft-graph-change-notifications
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShivaniRai-MSFT-7217 avatar image
0 Votes"
ShivaniRai-MSFT-7217 answered

Hi @RamVerma-7460 ,

The latency for change notifications to be received depend on a lot of factors. It depends on the service load: depending on how many calls are happening and how busy the service is.

This table lists the latency to expect between an event happening in the service and the delivery of the change notification. For now we do not have average and maximum latency for outlook message resource.

Hope this helps.

If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.