Forum Discussion
How to use get direct reports in an workflow
Hello,
I have a flow that theoretically adds users from my Active Directory to a SharePoint list. This flow fires when you add a valid email to the list.
The problem is that the flow runs but it doesn't bring me any log, any ideas?
This is the workflow:
- RobElliottSilver Contributor
ADumith the flow shown below worked fine for me and added the direct reports into a list with no problem, so you need to look at the initial trigger and also make sure the create item is selecting the correct dynamic content.
Rob
Los Gallardos
Microsoft Power Automate Community Super User- ADumithIron ContributorThanks for your reply, I can't identify the first step of the flow, how do I place it in my PowerApp?
- jonlakeIron Contributor
Hi ADumith , if your aim is to capture all direct reports for an active account in a list you can do it like this, assuming you have a condition looking for AccountEnabled is true. I've tested this and it works well for me. The 'Create target user item' is not strictly necessary but I chose to keep a record of the email addresses I was entering during the test.