Skip to content

Commit 8a6a330

Browse files
authored
Update throttling-entra-logs-reports.md
Updating based on recent incident and need to clarify throttling further.
1 parent 5494b45 commit 8a6a330

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

includes/throttling-entra-logs-reports.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.topic: include
99
| Request type | Limit per app for all tenants | Limit per app per tenant |
1010
| ------------ | ------------------------------ | ------------------------ |
1111
| Any | 122 requests per 10 seconds | Five requests per 10 seconds |
12+
| signInActivity | 10 requests per minute | 10 requests per minute |
1213

1314
The preceding limits apply to the following resources:
1415

@@ -23,6 +24,8 @@ Changed authenticationMethodsRoot to authenticationMethod
2324
-->
2425

2526
### Identity and access reports best practices
27+
2628
Microsoft Entra reporting APIs are throttled when Microsoft Entra ID receives too many calls during a given timeframe from a tenant or app. Calls might also be throttled if the service takes too long to respond. If your requests still fail with a `429 Too Many Requests` error code despite applying the [best practices to handle throttling](/graph/throttling#best-practices-to-handle-throttling), try reducing the amount of data returned. Try these approaches first:
2729
- Use filters to target your query to just the data you need. If you only need a certain type of event or a subset of users, for example, filter out other events using the `$filter` and `$select` query parameters to reduce the size of your response object and the risk of throttling.
2830
- If you need a broad set of Microsoft Entra ID reporting data, use `$filter` on the **createdDateTime** to limit the number of sign-in events you query in a single call. Then, iterate through the next timespan until you have all the records you need. For example, if you're being throttled, you can begin with a call that requests three days of data and iterate with shorter timespans until your requests are no longer throttled.
31+
- Using the $select=signinActivity parameter may trigger stricter throttling limits than standard Microsoft Graph API calls. If you don’t require this field, consider removing $select to avoid these limits. If you do need to retrieve signinActivity, reduce the number of API calls by using $top=500 to retrieve multiple users in a single call rather than querying one user at a time.

0 commit comments

Comments
 (0)