cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ElMeSaFeR
Helper IV
Helper IV

If user profile not found condition

Hi,

I have a flow start when the user fill a form through "Forms" 

 

there's a field name " your manager email address" 

as "Forms" can't connect to Azure to retrieve the users email

 

some users writing there manager's email wrong and I getting error in the flow with 

Getting user profile V2 >> "Not found" with status 404 

 

{
  "error": {
    "code": "ResourceNotFound",
    "message": "User not found",
    "innerError": {
      "date": "2020-06-14T08:33:00",
      "request-id": "xxxxx-xxxxx-xxxxx-xxxx-xxxxx"
    }
  }
}

 

I need to make a condition to send an email to the user to re-submit the form in case he write wrong data 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @ElMeSaFeR ,

 

You could set Configure run after and send a notification when Get user profile action fails.

https://flow.microsoft.com/en-us/blog/error-handling/

 

60.PNG

 

Best Regards,

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

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @ElMeSaFeR ,

 

You could set Configure run after and send a notification when Get user profile action fails.

https://flow.microsoft.com/en-us/blog/error-handling/

 

60.PNG

 

Best Regards,

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

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,131)