SOLVED

Multiple Approvers (Groups? Array?)

Regular Contributor

Hi all,

 

I have a basic flow setup for an approval. However each division has it's own list of approvers (i.e it might or might not be their direct manager).

 

I've a feeling I can't use a security group for these (if user is finance then use finance_approve@company.com)? That anyone/all from this group can approve?

 

Can I setup a variable for this? Can you create an array and called it "Finance Approvers" and populate the assigned to field with this array? I don't want to spend too much time maintaining this though.

 

2 Replies
best response confirmed by David Gorman (Regular Contributor)
Solution

David,

 

You could create Azure AD security groups and then use the Get Member action to pull users from that group, you could then create an array variable and append your group users to that and assign it to the approval step that way.

 

image.png

@NeverHere I don't get it - it seems PowerAutomate is somehow validating the accounts. I am using a string with a valid sharepoint address. Although it should work, according this post I always get an error message:

2021-10-25_154335.jpg