Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Send an email (V2)

(0) ShareShare
ReportReport
Posted on by 2
I have a Power Automate around a query I have in Azure Dev Ops that is looking for tickets that are reaching SLA and to e-mail the user, everything looks good until I get to the send an email (v2) where I use the fields TO in the parameters. If I just hard code a users e-mail it works.
 
Status code is 400 body output is as follows:
 
{
"status": 400,
"message": "One or more recipients are invalid.\r\nclientRequestId: 537a262e-557a-4361-9966-bc62529b5158\r\nserviceRequestId: 37e1f99a-ddce-226b-74e5-54532f00de0f",
"error": {
"message": "One or more recipients are invalid.",
"code": "ErrorInvalidRecipients",
"originalMessage": "At least one recipient is not valid., Recipient 'xxx <xxx@DATALINKSOFTWARE.COM>' is not resolved. All recipients must be resolved before a message can be submitted."
 
If I hard code the email to xxx@DATALINKSOFTWARE.COM it sends fine.


  • Suggested answer
    CU16012228-0 Profile Picture
    CU16012228-0 2 on at
    Send an email (V2)
    I was able to get Microsoft (Jason Le (Tek Experts)) to help resolve the issue
     
    Very simple at the end of the day, we need to use the function in the TO:
     
    slice(split(item()?['System.AssignedTo'], '<')[1], 0, -1)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard