Skip to main content

Notifications

Administer & Monitor
Unanswered

Microsoft Lists People Picker displaying Disabled Accounts

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 51 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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,122

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,414

Leaderboard

Featured topics