I have two parallel Azure AD Get group users actions and I want to merge the result into one so I can then apply a for each to the combined array
How can I do that? Thanks
You might have to step through one array using the apply and then use array.add expression to add each item of the second array to the first array
Hi @ christian-aid,
I have made a test on my side, you could refer to steps below to create the flow:
union(variables('group users'),variables('group users'))
Note:This step is to return only one element if there are the same elements in the array.
8. Add an “Apply to each 3” under the “Compose”, choose the “output ” dynamic content of the Compose in the input field.
9. You could add a “Compose 2” inside the “Apply to each 3”,choose the “Current item” dynamic content of the “Apply to each 3” in the input field to get every member’s information.
The flow would run successfully as below:
Find your favorite faces from the community presenting at the Power Platform Community Conference!
Check out the announcement of Power Platform content at Microsoft Ignite!
Features releasing from October 2020 through March 2021