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.
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.