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

Delete Users

(0) ShareShare
ReportReport
Posted on by 789

Hello Everyone,

 

I would like to build a flow that loops through a SharePoint List and checks if the users in AD users are also present in the SharePoint List that contains DisplayNames of a user and deleted SharePoint List column if the user doesn't exist in AD, but exist in the SharePoint List.

 

Example:

 

SharePoint List

sh1.jpg

 

AD Accounts

 

sh2.jpg

 

Output:  

SharePoint List after the flow has ran successfully.

sh3.jpg

 

I hope my examples helps.

 

 

Categories:
I have the same question (0)
  • Verified answer
    ivan_apps Profile Picture
    2,189 Moderator on at

    Should be easy enough to use the Entra ID Get Users action, enter the EmailAddress column and see if it fails or not. Unfortunately when a user retrieval is not found the result is not an empty array or "Not Found", the action will error.  So you will have to add an action after the error that has a 'Run After' configuration that is only for the 'Get Users' failed condition, as well as a success condition.  

     

    It would end up looking like this:

    ivan_apps_0-1708510332087.png

     

  • Caleb62881177 Profile Picture
    789 on at

    HI @ivan_apps ,

    Sorry, I still haven't gotten used to the new designer of Power Automate.

     

    Is it possible to post the old designer of Power Automate and expanded the Actions, please?

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Caleb62881177 ,

    I did a test for your reference.

    Delete User Before:

    vyetonggumsft_5-1708511246131.png

    Delete User After:

    vyetonggumsft_4-1708511138145.png

    In my scenario:

    vyetonggumsft_0-1708510328660.png

    vyetonggumsft_2-1708510927392.png

    vyetonggumsft_3-1708510973957.png

    Best Regards,

    Sunshine Gu

  • Caleb62881177 Profile Picture
    789 on at

    @v-yetonggu-msft @ivan_apps - Thank you both for your speedy response, I really appreciate all your efforts.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard