Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Get all AAD Users with manager in a sharepoint list

(0) ShareShare
ReportReport
Posted on by

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

  • Verified answer
    DAllen365 Profile Picture
    446 on at
    Re: Get all AAD Users with manager in a sharepoint list

    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 

    https://powerusers.microsoft.com/t5/Building-Flows/Get-all-users-through-Office-365-Users-connector-through-Search/td-p/434881

    https://powerusers.microsoft.com/t5/Building-Flows/Get-a-list-of-ALL-User-Profiles-and-there-is-much-more-than-100/td-p/179497


    ----------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow