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
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.
WarrenBelz
146,587
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional