Outlook Graph API returning 503s while processing requests

Taylor Sampson 5 Reputation points
2023-12-20T21:22:01.85+00:00

Our product integrates with Outlook via the graph API and last night we had a customer try to update a meeting (calendar event) and our system kept trying to make an API call every and we kept getting back a 503 Service Unavailable (took about 25 seconds to receive the response).

Finally after a little over 5 minutes of attempting we got a successful response. By that time we had made around 20 requests. This would all be fine, but the problem is that for some reason every one of those attempts to update the meeting seems to have triggered emails to go out to all the attendees of the meeting, meaning everyone on the meeting got 20 updates about the time change.

Here's one of the responses we received, but they all looked the same, with only the IDs and RoleInstance differing.

# PATCH https://graph.microsoft.com/v1.0/me/calendars/:calendar_id/events/:event_id -> 503 (21723.943 ms)
content-type: text/plain 
strict-transport-security: max-age=31536000 
request-id: 06003160-f4a1-45b8-9993-597e2294978e 
client-request-id: 06003160-f4a1-45b8-9993-597e2294978e 
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"BL4PEPF00000066"}} 
date: Wed, 20 Dec 2023 01:07:22 GMT 
content-length: 0

Our customers have asked us why they received so many emails and what they or we can do to prevent it, but I don't have a good answer. Was there a partial outage at this time? Was there any way our platform could've known that these alert emails were getting sent when all we were getting back was a 503?

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Graph
{count} vote

1 answer

Sort by: Most helpful
  1. SokiGuo-MSFT 31,536 Reputation points Microsoft External Staff
    2023-12-21T05:33:15.0666667+00:00

    Hi @Taylor Sampson

    Welcome to our forum!

    Looks like your issue is more related to Graph, please kindly understand that the Outlook tag here we mainly focus on general issues about Outlook desktop client and knows very little about graph.

    Based on my search, the 503 Service Unavailable means: The service is temporarily unavailable for maintenance or is overloaded. You may repeat the request after a delay, the length of which may be specified in a Retry-After header.

    In addition, this article may be helpful to you: Microsoft Graph throttling guidance - Microsoft Graph | Microsoft Learn.

    User's image

    Hope this helps!


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    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.