MailboxConcurrency

geoffrey rannou 6 Reputation points
2025-03-07T11:00:04.8166667+00:00

Hi !

I'm using Graph API to list emails using batching. I'm trying to handle correctly throttling errors of MailboxConcurrency.

I've noticed in my logs some occurences where I'm still getting this error even when I apply a retry of only 1 concurrent call so I'm a little confused.

Is it possible that another application also affects the throttling counter? I can confirm that my application is not sending any other concurrent requests.

Do you have any other idea on how to handle MailboxConcurrency throttling better ?

Thanks in advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,307 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,975 Reputation points Microsoft External Staff
    2025-03-10T06:37:43.1066667+00:00

    Hi geoffrey rannou,

    As per Microsoft documentation,

    Exceeding the limit for one mailbox doesn't affect the ability of the application to access another mailbox.

    Outlook service limits for JSON batching

    When targeting the same mailbox, apps that allow multiple batch requests to run in parallel can use either of the following approaches:

    • If the individual requests don't have to be ordered, have individual requests from a single batch run concurrently.
    • Use the dependsOn property to order requests in a batch and have up to four such batch requests run concurrently.

    Hope this helps.

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


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.