Hello. I am using Office365Users.SearchUser() and wondering if there's any way to omit the meeting rooms and service accounts? Is this possible?
Thank you.
Solved! Go to Solution.
@Mgodby - Please use the below code to exclude meeting rooms
Filter(Office365Users.SearchUser({searchTerm:TextInput2.Text}), AccountEnabled = true)
To exclude service accounts, I would suggest to use 'Not' statement and find some naming differences between user and service accounts. For example, if all service accounts are prefixed with 'SA', then you can say
Not("#SA#" in DisplayName)
Below link can help you.
@Mgodby - Please use the below code to exclude meeting rooms
Filter(Office365Users.SearchUser({searchTerm:TextInput2.Text}), AccountEnabled = true)
To exclude service accounts, I would suggest to use 'Not' statement and find some naming differences between user and service accounts. For example, if all service accounts are prefixed with 'SA', then you can say
Not("#SA#" in DisplayName)
Below link can help you.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
252 | |
122 | |
84 | |
83 | |
67 |