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 / Filter O365 Users Comb...
Power Apps
Answered

Filter O365 Users Combobox New Form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I would like to have staff members in my school be able to submit leave requests to their managers. I am using a SharePoint list and canvas app for this with a people/group column for the manager. How can I prevent staff from submitting requests to students? I would like to filter the people card in my app to only show users as part of two specific departments or users which dont have a ) on the end of their display name. Can I do this with the O365 users connector and if so how?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Krishna_R Profile Picture
    525 on at

    Hi @Anonymous 

    1. you can create sharepoint site group

    2. create people picker column and under column settings choose the site group that you've created

    Krishna_R_0-1626274374912.png

    3. add all the respective people to the group

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thats amazing thank you Krishna! Super easy 🙂

     

    Am I able to add a tenancy security group to the SharePoint group?

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

     

    We can use the filter if AD has information about the role either Student or Teacher in Department or job title like below

     

    Filter(Office365Users.SearchUser({searchTerm:""}), Department = "Teacher")

     

    or

    Filter(Office365Users.SearchUser({searchTerm:""}), JobTitle = "Teacher")

    StalinPonnusamy_0-1626276460883.png

     

     

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello I have tried to do this but I dont think it works. I think filter only returns tables not records so I need lookup? Also when I have used a filter and used the o365 users connection the entered user doesnt then save to the people column in sharepoint.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard