web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Sharepoint List

(0) ShareShare
ReportReport
Posted on by 6

Is there a way to get all list from all the sites into one customer list? 

Categories:
I have the same question (0)
  • Verified answer
    v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @txiong,

     

    Thank you for posting.

     

    According to your description, you would like to use flow to get all lists from all sites and save data into a customer list. If any misunderstanding, please kindly let me know.

     

    I’m afraid it’s not feasible using flow. All SharePoint related actions only allow us input a static site address instead of a dynamic one. This is by design behavior and seems no way to overcome it so far.

     

    However, we can try powershell script to get all lists of all sites. But there is nothing to do with flow. It’s internal feature using sharepoint powershell.

    https://sharepoint.stackexchange.com/questions/273154/how-can-i-have-a-list-of-all-the-sites-that-are-part-of-the-same-hub

    https://techcommunity.microsoft.com/t5/sharepoint/powershell-script-to-get-the-list-of-all-the-sharepoint-site/m-p/137157

    https://sharepoint.stackexchange.com/questions/253471/how-to-get-lists-of-all-subsites-and-sites-in-powershell-csom-for-sharepoint-201

    https://sharepoint.stackexchange.com/questions/230187/retrieve-all-sites-and-all-subsites-from-the-sharepoint-rest-api

     

    To save exported results to a customer list, I believe we can only use CSV import at current stage.

     

    You can also go to UserVoice to raise your idea. Maybe this feature will be available in the near future.

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

     

    Hope the content above may help you.

     

    Best regards,

    Anna

  • txiong Profile Picture
    6 on at

    Is it possible to take all the list items and place it in an Variable array, then use the variables to set it in a custom list with only the specific columns??

  • v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @txiong 

     

    Thank you for update.

     

    It's still impossible using variable. Because we can't find all lists using one action. Even though we can put list details in variable, we still need to use 'get items' for each list as we can't input dynamic value in site address and list name.

    v-duann-msft_0-1620105520459.png

     

    Thus, we can't achieve it using flow. That's why I try to find other methods as workaround for you.

     

    Sorry for the inconvenience may caused. Hope its clear to you.

     

    Thanks

    Anna

  • txiong Profile Picture
    6 on at

    Thank you very much, i'll accept your answer above as the solution and also put in a user enhancement request as well.

     

    Thanks and Best regards,

     

    Twinstar

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard