
Announcements
Hi,
I am trying to fetch the flows from the tenant using "Get-AdminFlow", but everytime it is giving me null values.
I have used PowerApps Administration PowerShell versions "2.0.81", "2.0.80", "2.0.77" and "2.0.76", but still the same issues is coming.
Kindly guide me on this issue.
This same issue is happening to me.
I tried multiple versions of PowerShell, running with and without global admin.
Get-PowerApp, Get-AdminPowerApp, Get-Flow, and Get-AdminFlow all return no values. I have many apps in organization, several of which were developed by me. None of them show up in PS.
Any information would be greatly appreciated.
Edit (Jan-12-2021):
I have solved this problem within our organization. GCC uses a different login endpoint, same goes for GCC High.
Adding -Endpoint "usgov" to the Add-PowerAppsAccount fixed this issue for me.
Here is the simple script I wrote to bypass user consent for our intranet applications:
Add-PowerAppsAccount -Endpoint "usgov"
Get-PowerApp | ForEach-Object {
try
{
Write-Host $_.DisplayName
Set-AdminPowerAppApisToBypassConsent -AppName $_.AppName
}Catch
{
$Error[0]
Write-Host $_.DisplayName "Failed"
}
}
I hope this helps others who are having issues with GCC/GCC High organizations.