@Brion This is likely because the loopDone
variable is already set to true
before the loop starts in your workflow
Until Loop does not actually loop
I am following this tutorial here https://willpage.dev/2020/05/26/handling-pagination-with-the-ms-graph-api-in-logic-apps-and-power-automate/ doing the exact same thing. The only addition is that I am getting an array of SKUs (MS Product IDs) then going 1 at a time looking for all users who have that SKU. Many of the MS Graph API calls will return more then 1000 objects so I use a loop and change the API link to the next odata.nextLink.
My until loop is simple till a variable is set to TRUE. Per screenshot below. However in several test it only runs once and stops. Even though you can see a check for FALSE is the only way the variable can be set to true. Yet the Until never loops. Anyone have any ideas as to maybe why?
Azure Logic Apps
1 answer
Sort by: Most helpful
-
Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
2022-01-24T05:47:29.53+00:00