cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Colchester
Helper II
Helper II

How to conditional check "couldn't resolve user"

I have a flow that get a list of user (from a SharePoint list) and grant permission of a SP list item (for each) user.

It works well before. However when one of the user have left the company, the flow will failed with error "couldn't resolve user". How could I add a conditional check so that the error of single user would not stop entire flow?

1 ACCEPTED SOLUTION

Accepted Solutions
David-
Solution Sage
Solution Sage

You could use Search for users with each person's e-mail address, then check to see if any results come back. If so you can proceed with the flow and if not do nothing.

David_0-1663779063249.png

The expression in the condition is:

 

length(outputs('Search_for_users_(V2)')?['body/value'])

 

View solution in original post

1 REPLY 1
David-
Solution Sage
Solution Sage

You could use Search for users with each person's e-mail address, then check to see if any results come back. If so you can proceed with the flow and if not do nothing.

David_0-1663779063249.png

The expression in the condition is:

 

length(outputs('Search_for_users_(V2)')?['body/value'])

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,237)