This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.
Problem
You have a logic app that has a connector action that is failing with 429 – too many requests across multiple runs.
Cause
Having multiple logic app runs running at the same time and using the same connection.
Resolution
Distribute the action executions over two connections using the following steps:
- Add a Control – Switch action.
- Set the Switch On value expression to rand(1,3), this will return either a value of 1 or 2 randomly.
- Set the Case Equals to 1 to execute the action using the first connection Connection1.
- Add an action inside the Case that uses Connection1.
- Add another action inside the Default case that uses Connection2.
The final workflow will look as follows:
For other scenarios, check the following link: Handle throttling problems, or '429 - Too many requests' errors - Azure Logic Apps | Microsoft Learn