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 / PowerShell to get all ...
Power Apps
Answered

PowerShell to get all Flows with Site and List names

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need to get a list of all flows in our tenant.  Got this script going the only issue i am running into is that I can't figure out how to list the site and list name that the flow is attached to.  Any help would be great.

 

#Get all flows.
Write-Host "Report is being generated" -BackgroundColor Red

Get-AdminFlow |
ForEach-Object { $user = Get-UsersOrGroupsFromGraph -ObjectId $_.CreatedBy.userId;
$createtime = Get-Date -Date $_.CreatedTime -Format "MM/dd/yyyy";
$lasttime = Get-Date -Date $_.LastModifiedTime -Format "MM/dd/yyyy";

[PSCustomObject]@{
FlowName = $_.DisplayName;
OwnerName = $user.DisplayName ;
OwnerEmail = $user.UserPrincipalName ;
Enabled = $_.Enabled ;
CreatedTime = $createtime;
LastModifed = $lasttime;
};} |

Export-Csv -Path "C:\PS1\Reports\AllFlows $(get-date -f MM-dd-yyyy).csv" -NoTypeInformation

Write-Host "Report is created" -BackgroundColor Green

 

 

 

I have the same question (0)
  • Verified answer
    jukka-niiranen Profile Picture
    351 on at

    Here's an alternative method my colleague recently blogged about for retrieving all the tenant's cloud flows with their SharePoint site and list info, using Power Automate and the admin connectors:  Listing all SharePoint sites and lists used in cloud flows.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @jukka-niiranen thanks for the info.  This looks good.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard