cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ppl
Helper V
Helper V

Field "Assign to" in approval flow

Hello.

Help me please to find a solution of my problem.

I am trying to buid an approval flow with using standart template.

And I want to choose Active Directory Group in Assign to field. What I do wrong? There is an error on approval stage. I need to put there certain user? no group?

 

 

BadRequest. The request failed. Error code: 'InvalidApprovalCreateRequestAssignedToNoValidUsers'. Error Message: 'Required field 'assignedTo' contained no valid users in the organization'.

1 ACCEPTED SOLUTION

Accepted Solutions

HI @ppl ,

 

Can you confirm me if the AD groups you are showing are cloud or on-premise groups? If the groups are only located on-premises, the connector will not be able to list these groups.

 

Try and using in Flow the action List my owned groups from the same Office 365 Groups connectors, and see which groups the connector returns to you.

image.png

 

If the groups are in Azure AD you can go to https://portal.azure.com/ and enter:

Azure Active Directory -> Groups

 

image.png

 

From here you can Copy the Object ID and insert it manually into the Group ID as a custom value.

 

image.png

 

 

 

Let me know if this helped you in any way!

 

Regards,

Ricardo

View solution in original post

7 REPLIES 7
Jcook
Super User III
Super User III

Hello @ppl

As of right now Approval action does not support groups in the assign to field.

However there is a workaround that can be done by following this post:
https://powerusers.microsoft.com/t5/General-Power-Automate/Group-list-email-in-approval-flow/td-p/83...
Scroll down on the post for the workaround.

I have tested and it works. Let me know if you have any questions.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





emaillist.PNG

You mean this solution? I cant find how to make an action "List group members"

Can group of classic Active Directory (not Azure AD) be the value of variable emailList?

Jcook
Super User III
Super User III

Hello,
So that action is in a connector called Office 365 groups. So it should show AD groups as well.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





I cant choose any AD group i this field.

2.PNG

And how it looks when i try to add this groups in field assign to

1.PNG

Jcook
Super User III
Super User III

Hi @ppl

Can you confirm what type of group you are trying to use?

I think this may be the issue. You may be trying to list group members of a Distribution List, but I think you need to make it a Security group.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





I cant see any AD groups in that field. And Security Groups too.

HI @ppl ,

 

Can you confirm me if the AD groups you are showing are cloud or on-premise groups? If the groups are only located on-premises, the connector will not be able to list these groups.

 

Try and using in Flow the action List my owned groups from the same Office 365 Groups connectors, and see which groups the connector returns to you.

image.png

 

If the groups are in Azure AD you can go to https://portal.azure.com/ and enter:

Azure Active Directory -> Groups

 

image.png

 

From here you can Copy the Object ID and insert it manually into the Group ID as a custom value.

 

image.png

 

 

 

Let me know if this helped you in any way!

 

Regards,

Ricardo

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (45,749)