Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Update Sharepoint List from Excel - Validate source people field before insert/update

Dear all

I have a flow which is updating a Sharepoint List from an Excel file. Unfortunately the Owner field in the source is not maintained properly. having an user like will be imported just fine in to the People field.

But if there is

  • a misspelling, wrong email
    a free text (just a name)
    a correct email from an employee who left the company (no longer in directory)

the value can obviously not be resolved and it ends in this error:



  "status": 400,
  "message": "The specified user FREE TEXT NAME could not be found.\r\nclientRequestId: d071e7d1-fdfc-489e-92b3-ce713ea6d2fa\r\nserviceRequestId: d071e7d1-fdfc-489e-92b3-ce713ea6d2fa"




I can handle the empty fields as follows:



if(equals(items('Apply_to_each')?['Owner Contact'],''),null,items('Apply_to_each')?['Owner Contact'])




How can I do a check if the user will be resolved?

If it can not be resolved I'd like to have a specific user instead or at least null (an empty field)


Currently the 'wrong' data results in the error and none of the record will be saved.


Thank you very much for any hints/ideas.


Approximately how many items are in your SharePoint List?



Helper I
Helper I

ca 3500 rows
ca. 50 columns

There are some ways to improve the speed of the flow. I'll post something later with some actions later you could incorporate into your flow.


I'm going back to basics here. Can you describe what happens if the Get Items does not return any results. I think this is what you are doing:




Helpful resources

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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,384)