Showing results for 
Search instead for 
Did you mean: 
Not applicable

Query Active Directory

I loathe to hard code people's names into workflows, it just leads to heartache down the line.  How can I query active directory for the user account for a job title in Flow?  I'd really prefer to fire of an email from within a workflow to the Chief Executive Officer instead of coding Bill Lumbergh.

Power Automate
Power Automate

Not directly possible today.


But, if you are willing to go to the length of dabling around directly with APIs, you should be able to.  You need to call the following URL:$filter=jobTitle eq 'CEO'


You can write a custom API to do the job.  See here:


You may also be able to achieve this using the HTTP+Swagger action as well.  See here:


Of course, I havent tried either... just preaching here.  Let know if that works for you.  Would love to know what worked for you.

Helpful resources

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,809)