Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Throttling best practices support for Sharepoint access

Open ssmails opened this issue 1 year ago • 3 comments

Going through the Microsoft recommendations for throttling, https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online

  1. Choose Microsoft Graph APIs over CSOM and REST APIs when possible
  2. Use the Retry-After and RateLimit HTTP headers
  3. Decorate your traffic so we know who you are (see section on traffic decoration best practice more on that below)

Appreciate any help on the below questions @vgrem

  • I have been using the lists / list items examples as references to get details for Sharepoint doc lib items, which make it super convenient to get the details and metadata about the items, thanks to this wonderful library. Are these the CSOM/REST APIs ?

  • Are there any Sharepoint examples in this library that use the Microsoft Graph APIs ?

  • Is there an example for using a context and executing queries for Sharepoint - with Retry-After and RateLimit HTTP headers as recommended above ?

  • Is there an example for executing queries for Sharepoint - with traffic decoration best practices as recommended above ?

ssmails avatar Feb 14 '24 02:02 ssmails

@vgrem Can you please help answer this ? Thanks.

ssmails avatar Feb 23 '24 15:02 ssmails

@vgrem appreciate any help on this ? Thanks

ssmails avatar Mar 15 '24 17:03 ssmails

@vgrem appreciate any help on this ? Thanks

ssmails avatar Jun 05 '24 16:06 ssmails