Skip to main content

Notifications

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,161

Leaderboard

Featured topics