I have a flow where a user submits a form via Microsoft Forms and then the results are saved in Sharepoint. My flow pulls in additional information that is preloaded to another sharepoint list by user. Essentially, my flow looks at who submitted the form and then pulls information into the Sharepoint item based on the submitter matching the user listed in the other sharepoint list. We have used this for about a year and haven't had any problems but I recently began having an issue where a single user cannot be found. The flow has and continues to work for all other users.
This user submitted a form late June and it worked but the form she submitted this past week did not work. I went a resubmitted the flow that worked in June and it is no longer working either. Here is the error we are receiving:
"message": "The specified user Jones, Kimberly could not be found.\r\nclientRequestId: cd1189c3-d6ee-457a-bc30-799d894d7263\r\nserviceRequestId: cd1189c3-d6ee-457a-bc30-799d894d7263"
While the error is saying the user cannot be found, you can see that it is finding the correct user and attempting to pull in the appropriate fields. This user is item number 49 in the Sharepoint list and line 49 is where the flow is failing so it is seeing there is a match. However, it is still failing due to no user found. Below are screenshots of the flow as well as the audit of the failure.
Hi @kels89 ,
It seems that Flow configuration is fine.
Please try using Mail to configure User Profile Claims instead of Display Name.
@v-bacao-msft I do not hae user profile claims option for this condition. Any thoughts on how to ge **bleep**? I have tried both mail and display name and neither is working but I'm happy to try this as well.
@Axford_Clare I noticed that it was happening when there were multiple users with the same display name. On using email instead of display name it resolved the issue as search for users was returning only 1 user in that case. Other way of resolving it could be by using top 1 with display name to just pick the first user that is being returned.