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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Too many Smiths

(0) ShareShare
ReportReport
Posted on by 105

Hi,

I created a simple flow to archive items that are 30 days or older on a SharePoint List. The information on the list is generated by a PowerApps.

There's a column that has a 'job performed by' and uses an Outlook people picker.

One of the persons is let's say Bob Smith and there is 10 Bob Smiths in the department the flow is failing to get past this person all other people have been archived. 

This is the error 'The specified user Bob Smith could not be found.' Is there a way to narrow the Smith down to the right one?

Can I change the name in the column to a unique person name (UPN)?

I lost on what to do.

Markxx60_0-1715311386211.png

 

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Markxx60 You could add error handling using "Configure run after" to skip the erroring items.

    Configure run after option - Training | Microsoft Learn

     

  • David_MA Profile Picture
    15,701 Super User 2026 Season 2 on at

    Since this is for archive purposes, I would change your people field to a text field and that should fix the problem.

  • Markxx60 Profile Picture
    105 on at

    Thanks but I don't want to skip the item it needs to be archived.

  • Markxx60 Profile Picture
    105 on at

    Thanks @David_MA ,

    The sounds like an easy solution but that won't stop people just typing their initials unless there is a way to validate the name against Outlook.

    The items are archived for auditing purposes so if they are checked months down the track, we know who did what.

  • Verified answer
    David_MA Profile Picture
    15,701 Super User 2026 Season 2 on at

    You can validate the name. Build your flow like this:

    David_MA_0-1715604315892.png

    The Get user profile action will fail if the user is no longer valid, however the SharePoint list retains the e-mail address. So, populate the Get user profile with the e-mail address of the person in the people field.

     

    Create a variable to hold the name of the person and populate it after the Get user profile action. On the left side, success, you can populate it with the e-mail from the Get user profile. One the right side, fails, you can populate it with the e-mail address from the people field in your list.

     

    Then populate it in the archive as a string instead of a people field.

     

    David_MA_1-1715604525197.png

    Just be sure to set the action that you have below the Apply to each action runs on both is successful and has failed.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard