cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KAW
Level: Powered On

Approval flow error: Found no matching users for email address

We run an O365 environment with AD (replicated with on prem AD). I can get approval flows to send emails to O365 email addresses for users, but not to security groups. For instance, I can send an approval to my own email address but I cannot send an approval to a security group with an attached email _databaseadmins. However, using Outlook and Outlook online, I can send email to that security group without issues. Also, SQL Server database mail has no problems sending it. Our system admin has double checked to make sure they are provisioned in the O365 AD (and I will ask him to check again, just in case). 

 

Here is the error message in the approval flow:

 

The request failed. Error code: 'GraphUserDetailByEmailNotFound'. Error Message: 'Found no matching users for '<email address>'.'.

 

Has anyone else encountered this error? Is there a trick to setting up the security group that will allow Flow to interact with it? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Approval flow error: Found no matching users for email address

Hi KAW,

 

I am afraid that currently it might be not possible to send emails to security groups.


There is a similar request at Flow ideas Forum, please vote and comment the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Allow-seleciton-of-SharePoint-security-groups-for-ema...


I will help collect and report it on my side.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Approval flow error: Found no matching users for email address

Hi KAW,

 

I am afraid that currently it might be not possible to send emails to security groups.


There is a similar request at Flow ideas Forum, please vote and comment the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Allow-seleciton-of-SharePoint-security-groups-for-ema...


I will help collect and report it on my side.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

KAW
Level: Powered On

Re: Approval flow error: Found no matching users for email address

That's a bit of a bummer. I really do appreciate the information, so thank you. I will vote and comment on that idea.

 

In the meantime, as a workaround, do you know if there are any kinds of email groups that are allowed by Flow? Will plain distro groups work? I would hate to hard code individual user email addresses ... that violates all kinds of best practices for developers. 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,937)