Requests to the server are being throttled

BMaster 1 Reputation point
2021-03-09T18:56:28.197+00:00

While experimenting with conditional access policies, I often go to Azure AD -> Monitoring -> Sign-ins to verify the new policies. Sometimes this works (although very slowly - it takes like 20 seconds to display the list), but a lot of the times I get the error "Requests to the server are being throttled" after these 20 seconds.
I saw https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshooting-throttling-errors where it's suggested to check for x-ms-ratelimit-... response headers, but in the response headers I get back, I only see a header 'x-ms-ags-diagnostic'.
Any idea what's causing the throttling?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,690 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JamesTran-MSFT 36,461 Reputation points Microsoft Employee
    2021-03-10T21:40:37.04+00:00

    @BMaster
    Thank you for the detailed post!

    When it comes to the Sign-in activity reports within the Azure Portal, I believe it's using the Graph API endpoint of .../v1.0/auditLogs/signIns, to retrieve the data. If so, the Graph API throttling limits would be 2000 requests per second of any request type. Therefore, to better handle throttling it's recommended to:

    • Reduce the number of operations per request.
    • Reduce the frequency of calls.
    • Avoid immediate retries, because all requests accrue against your usage limits.

    You can also try filtering the sign-in logs to "Last 24hrs" if you're having issues getting data older than 24hrs.

    Additional Links:
    Subscription and tenant limits
    Graph API - List signIns

    If you have any other questions or are still experiencing this issue after filtering the amount of data to be returned, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.

  2. Alice Zhou 1 Reputation point
    2022-11-18T01:48:32.92+00:00

    Hi,

    I am getting this "Requests to the server are being throttled" while clicking HOME>All apps> my App > Device install status

    this situation occur for 2 hours. Could you please tell me what to do?