cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
_sourcecod3_
Helper III
Helper III

Get all powerapps and powerautomate flows in my environment.

Hi,

 

Is there a way to query a list of all the PowerApps and PowerAutomate flows in my environment? Reason i'm doing this is to maintain a list for each in the event someone in the organization deletes their app of flow and did not record their App ID or flow ID. I understand you can do this in the admin center, but i wanted to automate this as to run a query everyday. 

 

Any help is appreciated. 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
CFernandes
Super User III
Super User III

You can use Power Platform PowerShell Module and create a report.

 

# Here is how you can pass in credentials (avoiding opening a prompt)
$pass = ConvertTo-SecureString "password" -AsPlainText -Force
Add-PowerAppsAccount -Username foo@bar.com -Password $pass

 

#Get all Power Apps

Get-PowerApp

 

#Get all Power Automates(Flow)

Get-Flow

 

If Power Shell is not for you please try the Power Automate Management action https://docs.microsoft.com/en-us/connectors/flowmanagement/#:~:text=Power%20Automate%20Management%20...

 

Get Flow

Get the given flow in an environment.

Get Flow as Admin

Get the given flow from an environment you have admin access to.

 

Similar you can use Power Apps for Admins actions for details see: https://docs.microsoft.com/en-us/connectors/powerappsforadmins/

 

Get Apps as Admin

Returns a list of apps.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
leyburn19
Memorable Member
Memorable Member

I need this too as a matter of urgency.  Is there a way.  I cannot see the admin centre so are they there to pull a report?

 

CFernandes
Super User III
Super User III

You can use Power Platform PowerShell Module and create a report.

 

# Here is how you can pass in credentials (avoiding opening a prompt)
$pass = ConvertTo-SecureString "password" -AsPlainText -Force
Add-PowerAppsAccount -Username foo@bar.com -Password $pass

 

#Get all Power Apps

Get-PowerApp

 

#Get all Power Automates(Flow)

Get-Flow

 

If Power Shell is not for you please try the Power Automate Management action https://docs.microsoft.com/en-us/connectors/flowmanagement/#:~:text=Power%20Automate%20Management%20...

 

Get Flow

Get the given flow in an environment.

Get Flow as Admin

Get the given flow from an environment you have admin access to.

 

Similar you can use Power Apps for Admins actions for details see: https://docs.microsoft.com/en-us/connectors/powerappsforadmins/

 

Get Apps as Admin

Returns a list of apps.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

@CFernandes thank you!

@_sourcecod3_  Welcome 🙂

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (39,218)