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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / architecture paralleli...
Power Automate
Answered

architecture parallelize of a Power Automate Cloud Flow

(0) ShareShare
ReportReport
Posted on by 51
Hello, I need your architectural support for a Power Automate Cloud workflow.

The workflow queries a user list with attributes via HTTP. In a for each loop, the group membership is queried, also via HTTP, for each user.
 

My challenge is the for each groups loop. When I work with the Compose Action here, I cannot query the content from the loop. When used with variables, the flow works, but it runs for a very long time.

Can you please give me some tips on how to parallelize this process?
 
Thank you for your support. 
 
Categories:
I have the same question (0)
  • chiaraalina Profile Picture
    1,860 Super User 2026 Season 1 on at
    Hi 
     
    You can enable Parallelism for the User Loop:
     
    • Click on your “For each user/Apply to each” loop.

    • Choose Settings.

    • Toggle Concurrency Control → On.

    This alone will already make your flow much faster.

  • SK-01091159-0 Profile Picture
    51 on at
    Thanks for your reply. 

    Unfortunately, I have to dissolve the variable groups for the parallel process. A user can be member in multiple groups. 
  • VictorIvanidze Profile Picture
    13,079 on at
  • Tomac Profile Picture
    4,048 Moderator on at
     
    What are you trying to pull from your Get Groups action? In other words, in your screenshot above what are you doing in the Add To Variable action? We can likely pull this information out of the Get Groups array without using a loop.
  • SK-01091159-0 Profile Picture
    51 on at
    In the Action "Get Groups" I call GET https://graph.microsoft.com/v1.0/users/{id}/memberOf.  This returns one or more groups. I need to do this call for each user to get the user id.
     
     
  • Tomac Profile Picture
    4,048 Moderator on at
    @SK-01091159-0 Yes, I understand that. What information from the API call are you adding to a variable inside of the second loop? That's what we can pull out of the returned data without needing the loop, but we need to know what specific data you're trying to get out of the API call.
  • SK-01091159-0 Profile Picture
    51 on at
    Sorry, for my lat responds. I added the value ( entra id groups a user is member from) into the group variable. 
  • Tomac Profile Picture
    4,048 Moderator on at
    @SK-01091159-0 Can you provide us with a screenshot of the expanded action and a copy/paste of any expression in use? We need this information to know the structure of your data so we can suggest a solution.
  • SK-01091159-0 Profile Picture
    51 on at
    Here is the screenshot
    screen1.jpg
  • Verified answer
    VictorIvanidze Profile Picture
    13,079 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard