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 Apps / List all SharePoint on...
Power Apps
Unanswered

List all SharePoint online site collections with active connections to Power Automate or PowerApps

(0) ShareShare
ReportReport
Posted on by

We are migrating tenants and need to identify all SharePoint site connections with active connections from Power Automate of PowerApps as these site collections will need to be migrated in a different manner.

 

I have PowerShell's that identify all Power Automate flows and PowerApps and their connection types but short of going into each Power Automate and PowerApps with a SharePoint connection and grabbing the SharePoint URL or ID, I haven't found a way to identify the SharePoint site collections in PowerShell. We have thousands of Power Automate flows and PowerApps and going through manually could take an exceptionally large amount of time. Any leads would be most appreciated.

  • thomasfnorthrup Profile Picture
    252 on at

    Hello, thanks for reaching out. 

    I believe what you are looking for are Connection References. I have not used power shell before but I know you can list the connections according to this documentation linked below. It says Get-PowerAppConnection is the cmdlet. 

    PowerShell Cmdlets for PowerApps and Flow creators and administrators | Microsoft Power Apps

    Let me know if this helps or I am missing something. But I think if you searched for Connection References that is what you are looking for. You can see them listed in make.powerapps.com on the left hand side under the dataverse heading. 

    Have a great day!

  • chapmangs Profile Picture
    20 on at

    Did you find a means to do this?  I looked through the Get-PowerAppConnectionReferences results and I don't see the URL of the connected SharePoint site is included.  

  • AlbertoCastro Profile Picture
    1,201 Most Valuable Professional on at
  • chapmangs Profile Picture
    20 on at

    Thanks.  That site is specific to Flows though, which you can also derive from PowerShell in the FlowDefinition.  However, this doesn't apply to Power Apps that are connected to a site.

  • MichaelS1 Profile Picture
    35 on at

    Unfortunately, there is not a built-in tool or script that will provide a list of all SharePoint Online site collections with active connections to Power Automate or PowerApps to my knowledge.


    However, there are a couple of methods:

    1. PowerShell Script:
    You can use PowerShell scripts with cmdlets like `Connect-SPOService`, `Get-SPOSite` and `Get-PnPFlow` to loop through all your SharePoint Online sites and list flows associated with them. This, however, would require substantial scripting knowledge and does not guarantee a perfect result as you would still need to manually analyze if the flow connects the two services.

    2. Power Platform Admin center:
    Navigate to the Power Platform Admin center (https://admin.powerplatform.microsoft.com/). Here, you can view all environments, and by drilling down into each environment, you can view all the PowerApps and Flows inside it. You can also see the connections and analyze if SharePoint connections exist. This requires manual effort and might not be feasible for a large number of environments.

    3. Audit Log Search:
    If your organization has the necessary Office 365 licenses (E5 or Audit Log add-on), you can use Audit Log Search in the Security & Compliance center. Here, you can search for specific activities related to Power Automate, PowerApps, and SharePoint. To find this, go to the Security & Compliance center and then to Search > Audit log search. Choose the necessary activities (like "Flow Run Success") and the date range, and then search. You can Export the results and then analyze them. This approach might not give you a clear cut, but it can provide an idea of which SharePoint sites are commonly used in the context of Power Automate and PowerApps.

    Remember, these are all workaround methods as there is currently no direct method to fetch a list of all SharePoint online site collections with active connections to Power Automate or PowerApps.

  • MichaelS1 Profile Picture
    35 on at

    "We have thousands of Power Automate flows and PowerApps"

    You could also look into https://learn.microsoft.com/en-us/power-platform/guidance/coe/starter-kit but it takes a bit of setup.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard