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.