cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ppl
Post Patron
Post Patron

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
rimatos
Community Support
Community Support

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
MVP

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?

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

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.

rimatos
Community Support
Community Support

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

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,756)