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 / Avoid showing O365 gro...
Power Apps
Suggested Answer

Avoid showing O365 groups in combo box people picker

(4) ShareShare
ReportReport
Posted on by 142
I have a sharepoint People picker column which is shown as combobox in Powerapps. This shows O365 groups as well when searched. May i know how to avoid this?
 
Items Property
Choices([@'Worker Processes'].Admin)
 
I have the same question (0)
  • Suggested answer
    oyepanky Profile Picture
    563 on at

    Hi @Poweruser32490,

    If you're using:

    Choices([@'Worker Processes'].Admin)

    the ComboBox simply reflects the behavior of the underlying SharePoint Person or Group column. If that column is configured to allow both People and Groups, Microsoft 365 groups can appear in the search results.

    A good first step is to check the SharePoint column settings and ensure it is configured to allow People Only instead of People and Groups. This is the recommended approach and will prevent groups from appearing in Power Apps as well.

    If changing the SharePoint column isn't an option, you'll need to use a custom people picker (for example, using the Office 365 Users connector) so you can control and filter the results.

    Best Regards,
    Pankaj Jangid (OyePanky)
    Power Platform Developer
    YouTube: https://www.youtube.com/@oyepanky
    Website: https://dialforit.com

  • Suggested answer
    11manish Profile Picture
    3,788 on at
    The Choices() function does not provide a supported option to exclude Microsoft 365 Groups from a SharePoint Person column. If filtering by PrincipalType or Claims isn't possible in your environment, the most reliable solution is to replace the default Choices() source with the Office 365 Users connector, which returns only user accounts and provides a better user experience.
  • Suggested answer
    Haque Profile Picture
    3,959 on at
    Hi @Poweruser32490,
     
    I agree with oyepanky,  to do so. 
    • Go to your SharePoint list settings.
    • Edit the Person or Group column settings.
    • Set it to allow People only instead of People and Groups.
    Note: This prevents groups from appearing in the picker and thus in Power Apps.
     
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • WarrenBelz Profile Picture
    156,229 Most Valuable Professional on at
    I will add something else here - having the Items of 
    Choices([@'Worker Processes'].Admin)
    will only display a list of users that are already in your data source.  - if you need to add other new (to the list) users, they will not be there. I have a blog on the various options available that may be of some assistance to you.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • Ram Prakash Duraisamy Profile Picture
    5,885 Super User 2026 Season 1 on at
     
    Try using People or Group Column and map like Choices([@'Column Name'].Admin)
     
    Please mark as answer if my suggestion helps.
    Subscribe here for More Useful videos : https://www.youtube.com/@rampprakash3991
  • Suggested answer
    Valantis Profile Picture
    6,967 on at
     
    To update a matching item in a second SharePoint list when the user saves in your app, use Patch with LookUp to find the matching record in the second list.
    On your save button OnSelect:
    Patch(
     'List1',
     LookUp('List1', ID = varSelectedID),
     {ColumnA: TextInput1.Text, ColumnB: TextInput2.Text}
    );
    Patch(
     'List2',
     LookUp('List2', MatchingColumn = varSelectedID),
     {SharedColumn: TextInput1.Text}
    );
    Replace MatchingColumn with whatever column in List2 links back to the List1 record (a lookup column or a stored ID).
    If the matching record in List2 might not exist yet, use Defaults() to create it:
    Patch(
     'List2',
     Coalesce(LookUp('List2', MatchingColumn = varSelectedID), Defaults('List2')),
     {SharedColumn: TextInput1.Text, MatchingColumn: varSelectedID}
    )
    This creates the record in List2 if it doesn't exist, or updates it if it does.
    What columns are you syncing between the two lists and how are they linked? That'll help confirm the exact formula.
     
      Best regards,

    Valantis   ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/ 💼 LinkedIn ▶️ YouTube
  • WarrenBelz Profile Picture
    156,229 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 353 Most Valuable Professional

#2
11manish Profile Picture

11manish 150

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 68 Super User 2026 Season 1

Last 30 days Overall leaderboard