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

Community site session details

Session Id :
Power Automate - Using Flows
Suggested answer

Export all the flow runs under one specific flow

(0) ShareShare
ReportReport
Posted on by
I am using the "Get .csv file" button on my flows run history. However, I'm not able to get all the flow runs, it just shows me 100 runs. I've been trying to get ALL the flow runs but Im stuck here... please help. I want a quick and easy way to just be able to see ALL flow runs - just how im getting data in the "Get .csv file" button, but for ALL runs.
I have the same question (0)
  • lbendlin Profile Picture
    8,374 Super User 2025 Season 2 on at
    Export all the flow runs under one specific flow
     
    "There are two important limitations to be aware of. First, this feature will only download the first 100 runs returned by your filter. Second, there is a limit on the size of content that is included in each cell of the CSV. For example, if you download 10 MB file, you don’t want that file’s contents in a single cell in a CSV. Instead, the CSV includes a hyperlink to the file, so it is just one click away."
  • Suggested answer
    rzaneti Profile Picture
    4,188 Super User 2025 Season 2 on at
    Export all the flow runs under one specific flow
     
    I just ran a test with PowerShell, and it is possible to achieve what you want. 
     
    From the Portal, we get the CSV file with 100 entries as limit:
     
     
    But when we access it from PowerShell, we get all runs, bypassing this limit:
     
     
    Here is the script that I used (Copilot helped me to craft/adapt it): 
     
    $flow = Get-AdminFlow -EnvironmentName "<Your environment ID>" -FlowName "<Your flow ID>"
     $runs = Get-FlowRun -EnvironmentName "<Your environment ID>" -FlowName "<Your flow ID>"
    
      $allRuns =      foreach ($r in $runs) {
                [PSCustomObject]@{
                    FlowDisplayName = $flow.DisplayName
                    FlowName       = $flow.FlowName
                    RunName        = $r.Name
                    Status         = $r.Status
                    StartTime      = $r.StartTime
                    EndTime        = $r.EndTime
                    TriggerName    = $r.TriggerName
                                }
            }
    
    $allRuns | Export-Csv -Path ".\all-flow-runs.csv" -NoTypeInformation
    Write-Output "Saved .\all-flow-runs.csv"
     
     
    I'm also sharing the docs for the PowerApps PowerShell, in case you want to explore it further: https://learn.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/?view=pa-ps-latest
     
    Let me know if it works for you or if you need any additional help!
     
    If this solved your issue, please mark it as Accepted Answer.
    👍 If it helped, feel free to give it a like!

    🌐 Explore more Power Platform content on my Website or on my ▶️ YouTube
    💼 Find me on LinkedIn
     
     

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 555 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 388 Moderator

#3
chiaraalina Profile Picture

chiaraalina 264

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow