Share via

How to avoid overloading when retrieving Users and Groups from Azure AD?

user20201 346 Reputation points
2021-04-05T10:18:08.437+00:00

Hello All-

We have a .NET Application and we retrieve data (Users and Groups) from Azure AD. We have 500+ Users and Groups registered in Azure AD, but when we display that to our application, it causes timeout and error. Are there any suggestions or best practices to solve the overloading issues? Thanks!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 37,256 Reputation points Microsoft Employee Moderator
    2021-04-05T21:45:41.55+00:00

    @tobias2021
    Thank you for your post!

    For handling throttling, you should be able to reference our - Microsoft Graph throttling guidance documentation for more info.

    The following are best practices for handling throttling:

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

    Identity and access service limits

    If you have any other questions, 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.

    Was this answer helpful?


Your answer

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