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 Platform Community / Forums / Power Automate / Check for inactive use...
Power Automate
Unanswered

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
    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,908 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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard