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 Platform Community / Forums / Power Apps / People picker in form ...
Power Apps
Answered

People picker in form - weird bug

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I'm experiencing a problem with the people pickers in PowerApps that has been driving me crazy for a while, I hope some can help me.

 

I have a Sharepoint list with several columns, few of them People type column. I have a PowerApp connected to this list and I included here a form that includes some of this People type column from the SharePoint list. Using this method I can use the data card in the app to select people from my Active Directory, which is exactly what I want and it works well.

 

The app works fine all the time until I have to edit something. For some reason, when I open the app in edit mode, all this people picker break! The error message on the red bubble reads "The data source supplied to the function is invalid" which is really weird because everything else works fine.

 

To fix I just click on the red bubble with the error, which takes me to the items property of the data card and all I do is to delete one letter of the source in the formula bar, select it again and that fix the problem!!!!! 

 

it is really annoying because I use the same method in all my apps and I'm experiencing the same problem with all of them, so every time I edit my app for anything I have to check all the people picker and correct them. I'm showing the issue with the gif below. I will really appreciate if anyone can help.

 

Cheers

 

u5s2nHf25x.gif

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    What an annoying experience, but I am not sure if this is a bug, because i haven't met this issue.

    Some suggestions, you can collect all Office365 users to the collection at the start of app, set it to Combo box's Items, and then modify the Update property to submit the selected users to SPlist Person column.

    In this way, it can speed up the search fucntion of combo box, and avoid choice() error you mentioned.

    Following is the steps:

    1. collect all Office365Users to the collection, set the following formula to OnStart of app.

    ClearCollect(coluser,Office365Users.SearchUser({searchTerm:"",top:500}));

    2. set Items property of Combo box(that data card) as below.

    coluser

    3. set update property of datacard as below.

    {Claims:"i:0#.f|membership|" & DataCardValue1.Selected.UserPrincipalName,Department:"",DisplayName: DataCardValue1.Selected.DisplayName,Email: DataCardValue1.Selected.UserPrincipalName,JobTitle:"",Picture:""}

    Hope this can help.

    Best regards,

    Sik

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for that @v-siky-msft . I think that workaround solves the problem. I'm not collecting the users because they are too many in my org but I'm using the Office365.SearchUsers function on the combo box and that works just as good.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Just one more question. On Step 3, do you know how that expression needs to be if I selected more than one person in the combo box of step 2?

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-siky-msft Please resolve this problem. One of our apps is facing exactly same problem.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard