What are the best practices for rate limits for retrieving sensitivity labels in Graph API?

Rick Huang 51 Reputation points
2022-09-13T17:52:43.413+00:00

We noticed that we would need to do an extra API call per driveItem to retrieve sensitivity labels for each item via https://learn.microsoft.com/en-us/graph/api/driveitem-extractsensitivitylabels?view=graph-rest-beta&tabs=http. Would this count as a "permission" call or another resource type when considering the resource limits in https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#application-throttling?

Additionally, is there any way for us to retrieve sensitivity labels as a property in an existing permissions or /item retrieval call to optimize for API call resource costs?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,804 questions
0 comments No comments
{count} votes

Your answer

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