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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get-AdminFlow returns ...
Power Apps
Unanswered

Get-AdminFlow returns null values in PowerApps Admininstration PowerShell

(1) ShareShare
ReportReport
Posted on by 2

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.

I have the same question (0)
  • nreeder Profile Picture
    5 on at

    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.

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard