I'm currently using the Office365Users.SearchUserV2 connection and pass in the search term.
Something like this Filter(Office365Users.SearchUserV2({searchTerm:varManagerName,top:20}).value,AccountEnabled= true && Not(JobTitle="student") && Not(StartsWith(Mail,"a-")))
This doesn't work effectively as we have 20,000 users in the Azure AD.
- My understanding is that this has a hard-coded limit of returning 999 records
- Any Filter I wrap around the search result will only be applied to the 999 records returned.
So, what is the recommended option to create a staff search mechanism in a Power App that can effectively find any person with an active AD account? Is there an option to filter prior to the actual search as in a delegable query of sorts?
I did spend sometime searching for this but couldn't really find any clear and concise approach anywhere. This seems to be a pretty standard problem, so I would assume that someone has solved this in a robust manner. It would be great if that solution could be shared.
Cheers, Andre

Report
All responses (
Answers (