Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Rate limit exceeded when running integrations with Logic Apps

(1) ShareShare
ReportReport
Posted on by 605

Hi

For a PoC we have set up a Logic app. It triggers when changes are done on SalesForce and does a create/update towards Dynamics 365.

We are using the default connectors for SalesForce and Dynamics 365.

Yesterday, more than 1000 instances were triggered for this Logic App. Around 950 records were created/updated fine in Dynamics 365.

However all the other retries ended in error "429 - rate limit exceeded".

We are having following questions:

  • Which service is used when using the Dynamics 365 connector?
  • Is it a limitation for Dynamics 365 Web API or another service
  • Does Logic Apps allow for limiting the active instances?

Kind regards

Kim

*This post is locked for comments

  • Ramon365 Profile Picture
    Ramon365 on at
    RE: Rate limit exceeded when running integrations with Logic Apps

    Check the API limits of Dynamics 365

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/api-limits

    In my case we hit the Combined Execution Time and you need to limit your concurrency of the runs in your logic app settings.

    After this no 429 errors anymore.

    Combined execution time of incoming requests exceeded limit of 1,200,000 milliseconds over time window of 300 seconds. Decrease number of concurrent requests or reduce the duration of requests and try again later.

    Example:

    "runtimeConfiguration": {
        "concurrency": {
            "runs": 25
        }
    }

     

  • Suggested answer
    DlwK Profile Picture
    DlwK 605 on at
    RE: Rate limit exceeded when running integrations with Logic Apps

    Hi The documentation states a limit on the Dynamics connector of  300 API Calls/60 seconds per connection:

    docs.microsoft.com/.../crm

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Rate limit exceeded when running integrations with Logic Apps

    I identified a rate limit set on the dynamics API, after processing multiple asynchronous operations against the service started returning 429 error codes (I processed around 1000 in a minute), this infers that the API is rate limited.

    Any suggestions will help

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Rate limit exceeded when running integrations with Logic Apps

    Hi Kim,

    We have experienced the same issues. Did you manage to find an answer?

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans