Hello community,
I'm using a PowerShell script to enable flows in the off status after the deployment of a solution via an Azure DevOps pipeline.
I'm using get-adminflow to detect the flows in an environment. It seems that I cannot detect flow in the off status (Enabled = false)
What I did as test using a PowerShell terminal with version 5.1.22621.608
Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -Scope CurrentUser
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber -Scope CurrentUser
Add-PowerAppsAccount -Endpoint prod
get-adminflow -environmentname [guid]
The result is null because the flows have not been enabled. When manually turning on/off, I can discover the flows via the commando above. What do I forget here?
Thanks for the support.
Frederik