cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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

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

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

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (9,616)