Share via

Throttling issue

Anonymous
2024-04-23T16:47:20.2333333+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 Security | Microsoft Graph
0 comments No comments

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.