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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Check for inactive users in multi-person column in SharePoint list

(0) ShareShare
ReportReport
Posted on by
I have a list of projects with a multi-person column listing all the internal stakeholders. I want to be able to report on when users become inactive and remove them from the list accordingly.
 
Currently inactive users remain in the list indefinitely and it becomes untidy.
 
What's the best way to check the user profiles for each of the stakeholders in each item? So far I've got:
 
- Get items
- @{items('Apply_to_each')?['Stakeholders']}
- Use the select data operation to get the list of each of the stakeholders' emails.
 
The output is an array of emails, but I need to separate these so I can check the user profile for each one.
 
[
  "person1@domain.co.uk",
  "person2@domain.co.uk",
  "person3@domain.co.uk"
]
 
How can I do this?
I have the same question (0)
  • CU25070820-1 Profile Picture
    2 on at
    Check for inactive users in multi-person column in SharePoint list
    Hi, you can use Apply to each (For each) to loop through the array.
  • Suggested answer
    David_MA Profile Picture
    12,536 Super User 2025 Season 2 on at
    Check for inactive users in multi-person column in SharePoint list
    This is an example of the apply to each mentioned by CU25070820-1. You want to have parallel actions under the Get user profile action to handle if the person is found or not. If the Get user profile action fails, that means the account is no longer active. You can then do what you need according to your requirements depending on whether the action is successful or not.
     

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 555 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 388 Moderator

#3
chiaraalina Profile Picture

chiaraalina 264

Last 30 days Overall leaderboard