Hi
I have written the PowerShell script to enable flows in an environment for a given user. However, I think it would be better to enable only a subset of flows say for a single solution.
$env = "Development"
write-host $env
# get the environment Id
$envName = (Get-PowerAppEnvironment -Filter *$env*).EnvironmentName
write-host $envName
$deployedFlows = Get-AdminFlow -EnvironmentName $envName -CreatedBy $userId
Get-AdminFlow seems not to show solution aware details?
It might seem a bit inelegant, but the extracted solution zip does contain a folder called Workflows and all Power Automate Flows show up in there as JSON files, with the name of the file being {flowname}-{flowid}
WarrenBelz
55
Most Valuable Professional
mmbr1606
42
Super User 2025 Season 1
Michael E. Gernaey
31
Super User 2025 Season 1