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?