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 Platform Community / Forums / Power Automate / Check for inactive use...
Power Automate
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?
Categories:
I have the same question (0)
  • CU25070820-1 Profile Picture
    2 on at
    Hi, you can use Apply to each (For each) to loop through the array.
  • Suggested answer
    David_MA Profile Picture
    15,350 Super User 2026 Season 2 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 293 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 186 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard