Whether you use Dynamics 365 or SharePoint Online, in Power Automate there are quite a lot of controls that help you build your business processes. One of those controls is the Do Until control.
Do Until step
As the name already says this control will do something until a certain condition is true.
In this post I will look at how this control works.

For this post I will use the above example. When you run this flow the Do Until will go through all of its 60 runs. The 60 runs is the default value of the Do Until if the condition hasn’t been met.

This example shows that the Do until will first run the actions inside before considering the condition. This means that before running a do until you might want to run a condition if you want to implement a ‘While loop’ where the condition is checked first.
Discover more from SharePains
Subscribe to get the latest posts sent to your email.
Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like.
I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide.
For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions.
SharePains is not just any blog run by a Microsoft MVP. Have you ever used Try-Catch in Power Automate? The original post about Try-Catch in Power Automate can still be found on this site, https://sharepains.com/2018/02/07/try-catch-finally-in-power-automate-flow/
Or have you ever used the Pieter’s method to avoid variables and speed up your flows? https://sharepains.com/2020/03/11/pieters-method-for-advanced-in-flows/
You can contact me using contact@sharepains.com