Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Administer & Monitor
Suggested answer

Microsoft Lists People Picker displaying Disabled Accounts

(0) ShareShare
ReportReport
Posted on by
Hello, I have a Classic Microsoft Power Apps app, where it is referencing a Microsoft Lists (modern), and there is a People Picker column named "Your Manager" and in Microsoft Lists / SharePoint, if "Doe, Jane" is disabled, then they will NOT display in the People Picker.  However in Power Apps, I see that when I click on the Combo Box Data Card Value, properties, and go to Items, I see Lists "Your Requests" and the column name of "Your Manager".  
Items -
Choices([@'Your Requests'].'Your manager')

I saw a post a year ago about:
 
adding something like this.  I don't know how to "ADD" that.  
Filter(Office365Users.SearchUser({searchTerm:""}), AccountEnabled = true)
 
When I go to Items and try to put a , or a ; at the end of Choices, it doesn't like it.  I know I need to go to Data and add Office 365 Users Connector.  I tried that and still had the error.
Is there a way to ensure that the accounts are "enabled" and NOT disabled?
Thank you!
Categories:
  • Suggested answer
    Ajlan Profile Picture
    Ajlan 90 on at
    Microsoft Lists People Picker displaying Disabled Accounts
    Hello
     

    To filter the People Picker in your Power Apps app to show only enabled users, follow these steps:

    1. Add the Office 365 Users connector to your app.

    2. Select the Combo Box for "Your Manager" and set its Items property to:

    Filter(
        Office365Users.SearchUser({searchTerm: ""}),
        AccountEnabled = true
    )

     
     
    Cheers

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,318 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,111 Most Valuable Professional

Leaderboard

Featured topics