cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
krishnags
Responsive Resident
Responsive Resident

Unable to send Approval Emails to a Shared Mailbox

Hi All, I am trying to send out an approval email to a Shared Mailbox from Flow. But I am receiving Bad Request when I use SharedMailbox email address

 

Error Details: Required field 'assignedTo' contained no valid users in the organization

 

{
  "error": {
    "code": "InvalidApprovalCreateRequestAssignedToNoValidUsers",
    "message": "Required field 'assignedTo' contained no valid users in the organization"
  }
}

Does Approval Flow not support sending out emails to a Shared Mailbox?

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi @bpmpower ,

 

The distribution list is not supported in the 'Assigned to' field for the approval in microsoft flow currently.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

Approvals must be assigned to an individual account - no groups of any type. And the account used must be in your environment.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

10 REPLIES 10
ScottShearer
Super User
Super User

@krishnags 

If you are trying to use a shared mailbox as the "assigned to" in the approval, then the answer is that this is not supported.  An approval can only be assigned to an individual.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

@ScottShearer

We need to send approval email to a mail-enabled distribution list.  This mail-enabled distribution list contains 3 people and works in Outlook email.  It didn't seem to work.  We entered the distribution list in the 'Assigned to' in 'Start and wait for an approval' FLOW.  Is this supported?

 

Regards,

Hi @bpmpower ,

 

The distribution list is not supported in the 'Assigned to' field for the approval in microsoft flow currently.

 

Best regards,

Alice       

 

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

Thanks you all.  I don't see where I can accept it as solution. 

@ScottShearer thank you for the helpful information. @v-alzhan-msft hope your answer applicable to SharedMailbox too., please confirm.

 

It would be helpful if you can provide more details on this.

Can we use AD group?  Is there no alternative?  Can we add a column in SharePoint named approvers (People and groups)?  I cannot add more than 1 name in the Person or Group. 

Thank you for your expertise.

Approvals must be assigned to an individual account - no groups of any type. And the account used must be in your environment.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thanks Scott for the additional information.  It's resolved.

Hello Alice,

we're facing the same issue, almost 3 years after this initial post. I understand that distribution lists is still not supported in the 'Assigned to' field for the approval in microsoft flow. Where would be the best place to convey to Microsoft this is an important and needed feature that needs support ?

 

Thank you

ScottShearer
Super User
Super User

@BabaBui 

I believe that you can use the Azure AD Get Group Members action to enumerate the members of a distribution list.  Initialize a string variable then loop though the output of Get Group members action.  Use an Append to string variable action to append each group member to the variable and add a semicolon.

You can then use the variable as input for Assigned To in your Approval action.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,309)