Share via

Can we increase the concurrent sessions allowed to connect to office 365?

Jaikumar Ghadmode 20 Reputation points
2025-07-16T22:36:04.89+00:00

My application uses graph APIs to connect to office 365 to receive and send emails. Currently we have about 6-9 JVMs running in parallel which connect to office 365. Intermittently are getting below exception. My question is, is there a way to increase the concurrency limit?

Unable to process document/email received from ##### – PO - SVI Public / Tohoku Solutions PDF *** com.microsoft.graph.models. @ com.microsoft.graph.http.GraphServiceException: Error code: ApplicationThrottled Error message: Application is over its MailboxConcurrency limit.

POST

SdkVersion : graph-java/v5.12.0 SdkVersion : graph-java/v5.12.0 [...]

429 : [...]

[Some information was truncated for brevity, enable debug logging for more details] <@> com.microsoft.graph.http.GraphServiceException: Error code: ApplicationThrottled Error message: Application is over its MailboxConcurrency limit.

POST

SdkVersion : graph-java/v5.12.0 SdkVersion : graph-java/v5.12.0 [...]

429 : [...]

[Some information was truncated for brevity, enable debug logging for more details] at com.microsoft.graph.http.GraphServiceException.createFromResponse(GraphServiceException.java:419) ~[microsoft-graph-core-2.0.10.jar:?] at

Reason - The "MailboxConcurrency limit" 429 error in Microsoft 365 (O365) indicates that your application is making too many simultaneous requests to the same mailbox, exceeding the concurrency limits defined by the Microsoft Graph API.

Microsoft 365 and Office | Development | Other
0 comments No comments

Answer accepted by question author

Dora-T 13,660 Reputation points Microsoft External Staff Moderator
2025-07-17T02:21:30.8366667+00:00

Hi @Jaikumar Ghadmode

Thank you for reaching out to the Microsoft Q&A Forum. 

Please understand that our forum is a public platform, and we will modify your question to cover your organization domain name in the description. Please notice to hide these personal or organization information next time you post error or some information to protect personal data. 

It looks like your application encounters throttling issues when multiple JVMs are accessing Office 365 mailboxes through Microsoft Graph. This behavior is typically related to concurrency limits enforced by the Graph API. 

Based on my research using publicly available Microsoft documentation and resources, the issue appears to be related to the MailboxConcurrency limit. This limit allows a maximum of four concurrent requests to a single mailbox at any given time. It seems to be a built-in service limit, likely intended to help maintain stability and consistent performance across Microsoft 365 tenants.. Unfortunately, there doesn’t appear to be a way to increase or customize this limit at the moment. 

One possible way to work around this is to use JSON batching with the dependsOn property. This approach allows you to structure your requests in a way that ensures they’re processed sequentially, which can help avoid hitting the concurrency limit when multiple JVMs are active. 

You might find these articles helpful for further reading: 

I hope this helps. If you have any other questions, feel free to reach out again.


If the answer is partially 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.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.