web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Rate limit exceeded when running integrations with Logic Apps

(1) ShareShare
ReportReport
Posted on by 607

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Kim,

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

  • Suggested answer
    Community Member Profile Picture
    on at

    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

  • Suggested answer
    DlwK Profile Picture
    607 on at

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

    docs.microsoft.com/.../crm

  • Ramon365 Profile Picture
    on at

    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
        }
    }

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans