web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

ActionFailed Approval

(0) ShareShare
ReportReport
Posted on by 19

Hello,

 

I have a conditon which has continually fails on one user. I have tried resubmitting and setting the approval type to "anyone" and "everyone" with the same result.

 

My flow is in its infancy, so I'm unsure if this will continue to happen with other users.

 

UPDATE: Reject works fine

 

Thanks,

James

 

Capture1.PNGCapture2.PNG

Categories:
I have the same question (0)
  • LeeHarris Profile Picture
    1,026 on at

    Hi @Jimmy7,

     

    What is happening in the 3rd action within the Approval branch? The response is being handled and proceeding down the correct branch but it looks as though this later action is failing.

  • Jimmy7 Profile Picture
    19 on at

    Hi @LeeHarris,

     

    Thanks for the speedy response!

     

    So the second condition is to create an SP item based on get user profile V2. You where right I was getting...

     

    "The specified user XXXXXXXX could not be found................."

     

    All the info is legit, I can look up the user manually.

     

    Oddly, I manualy added the SP item with the same user XXXXXX (found with no issue) and then proceded to delete the SP item. Re-ran the flow... and now it can find the user...

     

    With the predicted volume of records being produced, this may be cause for concern as I will be unable to check all flows results. maybe an if failed?

  • v-yuazh-msft Profile Picture
    on at

    Hi @Jimmy7,

     

    Could you please share a screenshot of the configuration of your flow?

     

    From your screenshot I could see that the third action inside the if yes branch of the Condition is run failed, could you please share more details about the error message of the third action inside the if yes branch of the Condition?

     

    Please share more details and screenshots so we would try to provide a proper workaround for you.

     

    Best regards,

    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.

  • Jimmy7 Profile Picture
    19 on at

    Hi @v-yuazh-msft

     

    I think it could be the fact that I am populating a Person or Group column with a Display Name from Get User Profile. In this instance the user has 2 accounts (one -test account) and it looks like Flow can't distiguish between them.

     

    Anyway, I changed the Person or Group input to the MS Form Responders' E-mail  (seems more logical anyway) hopefully this will be enough.

     

    Is there a way to add Has Failed on the entire flow? so if any of it fails I get an instant notification?

     

    Thanks

     

    Error message:

     
    {
     "status": 400,
     "message": "The specified user XXXXXXXXX could not be found.\r\nclientRequestId: 041627e2-3c43-4f10-8c31-3f730b787753\r\nserviceRequestId: 6577ba9e-50e3-8000-a44a-7a783ba34e83"
    }
     

     

    Capture4.PNGCapture3.PNG

  • LeeHarris Profile Picture
    1,026 on at

    Hi @Jimmy7

     

    Within your Flow loop you may be able to add a parallel branch after the failing action. Then using the "Configure Run After" option in the ellipses menu you can have one branch handle a success and another branch handling a failure. Within the failure branch you could simply add the users email or id to a string array variable and then email this to yourself at the end of the process.

    The below image is just to show the structure (obviously you don't want 3 Send email actions)

    chrome_2019-01-29_09-21-15.png

  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    Hi @Jimmy7,

     

    Please add a Compose action before the Create item action, and refer to screenshot below to create the flow:

    Capture.PNG The expression in the User Name Claims column as below:

    concat('i:0#.f|membership|',outputs('Compose'))

    The flow would run successfully as below:

    Capture.PNG

     

     

    Best regards,

    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.

  • Jimmy7 Profile Picture
    19 on at

    Thanks for all your @LeeHarris

     

    Thats great!

  • Jimmy7 Profile Picture
    19 on at

    Thanks @v-yuazh-msft

     

    Is the expression using the first user e-mail "0#" ?

     

    Would this be diffrent/better then to the image below?

     

    Thanks again for all your help!

     

    Capture5.PNG

     

  • v-yuazh-msft Profile Picture
    on at

    Hi @Jimmy7,

     

    You could enter the email address directly in the "User Name Claims" column, the column require a type of below:

     

    i:0#.f|membership|EmailAddress

     

    Please take a try with my solution and let me know if your problem could be solved.

     

    Best regards,

    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.

  • Jimmy7 Profile Picture
    19 on at

    Thanks @v-yuazh-msftSmiley Happy 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard