Is there a way to Filter Office365Users.SearchUsers by organizational unit in Active Directory?
I want to limit my search to OU = Employees but adding this to the ??? doesn't work (see below)
Go to Solution.
The SearchUsers action can search against fields like display name, first name, email, etc, but organizational unit and department are not part of that.
Depending on your scenario, you can likely achieve this without needing to use the Office365Users connector.
For instance, if what you're trying to achieve is to get a list of multiple people from the organizational unit and they belong to the same Office Group, you could use the Office365Groups connector.
If they belong to the same Security Group, you could use the Azure AD connector to get members.
View solution in original post
Check out these cool Power Apps & vote on your favorite!
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021