Forum Discussion
How to use get direct reports in an workflow
Hello jonlake
So, here we going.
First question: The workflow should populate the list, right?
Because I have ran twice and nothing coming up.
How can I get a whole report from my users, with out have to enter each email address?
Thanks in advance.
HIADumith , yes the workflow should populate the list, and does when I run it. It's possible your Azure Active Directory is setup differently and does not account for direct reports.
If you are wanting to loop through all users and capture any direct reports you will need a separate source. You can create one by extracting data from your global directory using something as simple as a MS Access database, linked to the client version of MS Outlook. You would then have your Flow get the items from the resulting source.
Precisely why your Flow isn't working is difficult to determine without seeing it, knowing that it works fine at my end capturing direct reports for a single user. If you can share some screen shots of the Flow actions (expanded) that may shed some light on the problem.
Regards, Jon