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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerShell to export l...
Power Apps
Answered

PowerShell to export list of all flows and apps to CSV

(0) ShareShare
ReportReport
Posted on by 76

Hi

 

I am not very knowledgable using PowerShell, but I need a PowerShell script that will:

 

- List all flows and apps in the default environment

- Display name of user who created it

- Any connections the flow or app is suing

- Exported to CSV ideally 

 

Can anyone help please?

 

Thanks

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

    Unfortunately there seems no commands are target to model-driven app...

    Please refer to below links for workarounds of retrieving information about model-driven app:

    Solved: Model driven apps auditing - Power Platform Community (microsoft.com)

    Microsoft Dataverse and model-driven apps activity logging - Power Platform | Microsoft Learn

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Danj_b Profile Picture
    76 on at

    Thanks - Unfortunately I can’t use Power Automate at the moment, so will need to be done in PowerShell.  I have successfully used PowerShell to get flows and apps - but it seems to only return canvas apps and not model driven.

     

    Any ideas?

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

    Hi @Danj_b ,

     

    Here display a full tutorial of how to retrieve information about app/flows via PowerShedll:

    PowerShell support - Power Platform | Microsoft Learn

     

    In "Operation examples" part, you will read about what commands you can use for Power Automate/Power Apps.

     

    If PowerShell doesn't work for you, you can try to build a flow to run for the information with help of below connectors:

    Power Apps for Admins - Connectors | Microsoft Learn

    Power Automate Management - Connectors | Microsoft Learn

     

    These two actions may help:

    Get Apps as Admin

    Returns a list of apps.

    List Flows as Admin (V2)

    List all flows in the given environment you have admin access to. This V2 action is a higher performance action that returns only the identifying information about the flow. The flow definition and much of the metadata is not returned. For additional metadata and the flow definition, make a subsequent call to the Get Flows as Admin action.

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 427

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 336 Super User 2025 Season 2

Last 30 days Overall leaderboard