Skip to content

Commit 1e54831

Browse files
Merge pull request SharePoint#6539 from robinmeure/patch-3
Update how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online.md
2 parents 4b57ed9 + de1dc77 commit 1e54831

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Avoid getting throttled or blocked in SharePoint Online
3-
ms.date: 06/10/2020
3+
ms.date: 12/09/2020
44
ms.prod: sharepoint
55
ms.assetid: 33ed8106-d850-42b1-8d7f-5ba83901149c
66
localization_priority: Priority
@@ -44,6 +44,9 @@ If the offending process continues to exceed usage limits, SharePoint Online mig
4444
In addition to throttling by user account, limits are also applied to each application. Every application in SharePoint Online has its own available resources, but multiple applications running against the same tenant ultimately share from the same resource bucket and in rare occurrences can cause rate limiting.
4545
In these cases, SharePoint Online will attempt to prioritize interactive user requests over background activities.
4646

47+
> [!NOTE]
48+
> Notice that there is difference between AppOnly authentication and Delegated authentication when making use of Applications when it comes to throttling. When making use of the delegated approach, throttling is applied on an user-basis and not the used application. When making use of the AppOnly way of authenticating, throttling is applied on application-basis.
49+
4750
## Common throttling scenarios in SharePoint Online
4851

4952
The most common causes of per-user throttling in SharePoint Online are client-side object model (CSOM) or Representational State Transfer (REST) code that performs too many actions too frequently.
@@ -74,7 +77,7 @@ That's why it's so important for your CSOM or REST code to honor the `Retry-Afte
7477

7578
## Search query volume limits when using app-only authentication with Sites.Read.All permission
7679

77-
In Sharepoint and OneDrive, we process multiple billions of documents and enable our customers to issue large query volumes per second. When you are using SharePoint Online search APIs with app-only authentication and the app having `Sites.Read.All` permission (or stronger), the app will be registered with full permissions and is allowed to query all your SharePoint Online content (including user’s private ODB content).
80+
In SharePoint and OneDrive, we process multiple billions of documents and enable our customers to issue large query volumes per second. When you are using SharePoint Online search APIs with app-only authentication and the app having `Sites.Read.All` permission (or stronger), the app will be registered with full permissions and is allowed to query all your SharePoint Online content (including user’s private ODB content).
7881

7982
We want to let our customers know that SharePoint Online search queries using such permission will be throttled at 25 QPS. The search query will return with a 429 response and you can retry the query after 2 minutes. When waiting for 429 recovery, you should ensure to pause all search query requests you may be making to the service using similar app-only permission. Making additional calls while receiving throttle responses will extend the time it takes for your app to become unthrottled.
8083

0 commit comments

Comments
 (0)