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 Platform Community / Forums / Power Automate / Return SharePoint docu...
Power Automate
Answered

Return SharePoint document library URL back to the flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a requirement where based on certain condition

a. Pop-up a display that shows all SharePoint sites the user has an access.

b. Click on any of the listed SharePoint site

c.  View the list of document library within the selected SharePoint site 

d. Select any of the document library and click on "OK" button 

 

Once the user clicks on OK button, capture the selected document library URL to move the content. 

 

I am a beginner to Power Automate. Can someone please suggest how to approach this requirement.

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

    Hi @Anonymous,

     

    There is no action that could list all sites of SharePoint in PowerAutomate, but there is action that could list all libraries and lists:

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#get-all-lists-and-libraries 

    So, as a workaround, you could store all sites into an array variable, then loop the variable, and get all libraries for each site.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard