Hello all,
I would like to build a flow with which I can retrieve all AAD / Office users including managers of the users into a Sharepoint List. How is this feasible?
Thanks for your Help
Jan
Solved! Go to Solution.
Jan, is this for a one-time task or you need to be repeatable? There are likely multiple methods available including PowerShell, but this should be possible in a flow. From what I remember the Azure AD actions are limited, but you could use the Office 365 Search for Users connector then do a foreach loop, use get manager passing in the ID or email of the user to get their manager, then do a create item to write the data to a SharePoint list.
Similar requests
----------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Jan, is this for a one-time task or you need to be repeatable? There are likely multiple methods available including PowerShell, but this should be possible in a flow. From what I remember the Azure AD actions are limited, but you could use the Office 365 Search for Users connector then do a foreach loop, use get manager passing in the ID or email of the user to get their manager, then do a create item to write the data to a SharePoint list.
Similar requests
----------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
User | Count |
---|---|
5 | |
5 | |
4 | |
2 | |
2 |