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

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

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

Highlighted
Frequent Visitor

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (7,317)