Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

Web API Maximum Request Limit

Posted on by 35

Hi 

I would like to use Web API in our application to retrieve all the cases of a customer. However, wondering what is the maximum number of request of calling Dynamics 365 Web API?

  • Verified answer
    RE: Web API Maximum Request Limit

    "if i use application user credential to write our c# application, basically the request limit is 100000 right?" -> Yes, that is right.

    "For the ServiceProtection API limit, is there any where we can see the request history?"  Yes, check this Doc https://docs.microsoft.com/en-us/power-platform/admin/analytics-common-data-service

    Note that monitoring the ServiceProtection API Limit is trick, because it is a combination of number of requests and execution time. Usually It is not expected that your application will reach this limit, if you are running a reasonable amount of web api calls. However, if you are planning to run, for example, a huge data import or any integration that you are afraid that may reach this limit, Technically the best way to check if your application are going to be throttled is load testing to the actual solution so that you can see if you are being impacted by the concurrency, burst and time usage limits.

  • FlowerPi Profile Picture
    FlowerPi 35 on at
    RE: Web API Maximum Request Limit

    Hi Roberto

    Thanks for your clear explanation. Just to confirm, so in my case, if i use application user credential to write our c# application, basically the request limit is 100000 right?

    For the ServiceProtection API limit, is there any where we can see the request history?

    Thanks!

  • Suggested answer
    RE: Web API Maximum Request Limit

    Hi, 

    There are 2 distinct topics in this subject:

    1- Service Protection API Limits

    pastedimage1612268119627v1.png

    This limit is not related with number of licenses. This limit is applied in the Platform to protect the overall performance.

    This limit is programmatically enforced, and if your application reach the limit, the server will return the error "429 Too Many Requests error"

    Regarding this limit, there is no way to buy more limit/capacity. 

    There are some techniques to handle or avoid this error, which are explained in the documentation above.

     

    2- Requests Limits based on number of Licenses

    This limit indeed is based on number of licenses.

    pastedimage1612268317596v2.png

    However, for integrations, the recommendation is to use an application user, and you can check information regarding application user requests limits in the same doc previous mentioned:

    https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#requests-limits-not-based-on-licensed-users-or-flows

    Note that this limits are currently not reinforced by the Platform. It means that your application will not receive error from the server if reach such limits. So, as explained in the documentation, you can monitor the volume of requests, and buy licenses addons once you note that you are reaching the limit, in order to keep compliance.

  • FlowerPi Profile Picture
    FlowerPi 35 on at
    RE: Web API Maximum Request Limit

    Hi Maulik Shah

    Thanks for your reply, however, based on the first link, actually is very confuse, i dont know i fall on which types.

    We use Dynamics Customer Engagement Plan, and use one of the user credential to call API, may i know is the limit = 20000/24hours?

  • Suggested answer
    CRMJetty Profile Picture
    CRMJetty 3,508 on at
  • Suggested answer
    CRMJetty Profile Picture
    CRMJetty 3,508 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans