Header "x-ms-throttle-limit-percentage" not coming in response

JSG 1 Reputation point

My application makes a lot of calls to the graph API to get the properties I need. It is impossible to reduce the number of requests in my case. And for this, I need to understand when the number of requests approaches the limit and that I need to stop doing them so as not to get 429)

The documentation says that the parameter "x-ms-throttle-limit-percentage" should come in the header when the number of requests approaches the limit from 0.8. As I understand it, 0.8 is a coefficient from 1, where 1 is the upper limit of the limit: https://learn.microsoft.com/en-us/graph/throttling?view=graph-rest-1.0#regular-responses-requests

But I didn’t get this parameter in the header, although Retry-After with TooManyRequests.

How can I get this parameter in the response? Perhaps you need to specify additional parameters for this? Or set up Tenant for this?

Or is there another way to view throttle-limit?

Thanks in advance for your reply)

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,106 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
877 questions
{count} votes