Get-all-environment-PowerAutomate-Flows

 We'll be using Powershell magic for this one...

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell;
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber;
$envDisplayName = 'MyEnvironmentName';
Add-PowerAppsAccount;
$env = Get-AdminPowerAppEnvironment -ErrorAction SilentlyContinue | Where-Object {$_.DisplayName -eq $envDisplayName};
$envName = $env.EnvironmentName;
$flows = Get-AdminFlow * -EnvironmentName $envName;
foreach ($flow in $flows)
{
    write-host "Flow Name: [" $flow.DisplayName
 "] ID: [" $flow.FlowName "] Created: [" $flow.CreatedTime "]";

}

Happy coding.
C

No comments:

Post a Comment

Comments are moderated only for the purpose of keeping pesky spammers at bay.

SharePoint Remote Event Receivers are DEAD!!!

 Well, the time has finally come.  It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...