Share via

Throttling issue

Anonymous
2024-04-29T07:45:46+00:00

Hello,

I'm using the MS Graph API and my app is having an over throttling issue

I follow by this rules, but no success

https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic

https://learn.microsoft.com/en-us/graph/throttling#best-practices-to-handle-throttling

I also saw information somewhere about limiting a maximum of 4 active connections per mailbox, but I can't find where it was

Configuration details:
TenantId: e8f23c02-3278-4097-8ec5-3b91849d4370
ClientId: 5cb5dcd0-d223-4b54-8cbf-69f7fac9212f
Batch URL: https://graph.microsoft.com/v1.0/$batch
Count of items: 260 (message id)
Batch size: 20
UserId: d42d0742-2ba2-4edd-b722-c546aeb0e3ae
URL template: users/%USER_ID%/messages/%IMMUTABLE_MEESSAGE_ID%/attachments?$select=microsoft.graph.fileAttachment/contentId,lastModifiedDateTime,contentType,isInline,name,size,id&$top=999

Case 1:

  • Simultaneous connections count: 1
  • POST request count: 13 - total interaction time: 7sec. 331mls.
  • OK[200] count: 260

Case 2:

  • Simultaneous connections count: 2
  • POST request count: 14 - total interaction time: 8sec. 217mls.
  • TOO_MANY_REQUESTS[429] count: 7
  • OK[200] count: 260

Case 3:

  • Simultaneous connections count: 4
  • POST request count: 17 - total interaction time: 13sec. 930mls.
  • TOO_MANY_REQUESTS[429] count: 71
  • OK[200] count: 260

Please help with this or provide a contact who can help with this (also willing to consider a commercial way to increase the throttling limits for my app).

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-04-29T14:59:48+00:00

    Thank you for your answer and attention to this issue

    I've already created a topic about the "throttling problem", but there has been no response from anyone for almost 1 week. https://learn.microsoft.com/en-us/answers/questions/1659502/throttling-issue

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-04-29T09:12:40+00:00

    Dear Dmitriy,

    Good day!

    Thank you for posting to Microsoft Community. We are glad to assist!

    Based on your description regarding "Throttling issue".  I would like to share some information with you, since we have dedicated support team for Microsoft Graph API related query. We would recommend you to kindly post your query to Microsoft graph support Forum via Microsoft Graph - Microsoft Q&A Engineers who are dedicated into Microsoft graph with rich experience and more resources can then assist efficiently. We believe they would conduct in-depth research on the problem you encountered and provide you with more professional assistance.

    In the meantime, I would also like to invite community members and MVPs in the forum to share their knowledge or any workaround and insight on this topic. Thanks for your precious time and your understanding would be highly appreciated. Have a nice day!

    Best regards,

    Inema |Community Moderator

    Was this answer helpful?

    0 comments No comments