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

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Powershell Powerapps not returning anything

(0) ShareShare
ReportReport
Posted on by 2

I've installed the powershell modules and logged in with an account that is the powerapps admin but when I try to run 

Get-AdminPowerAppEnvironment  nothing is returned at all.  No error message or anything.  Has anyone run into this?  I've tried unisntalling and reinstalling the modules but still same result.

Categories:
I have the same question (0)
  • velegandla Profile Picture
    202 Moderator on at
    Re: Powershell Powerapps not returning anything

    @Dogmeat26 

     

    Are you using the Add-PowerAppsAccount before running the Get-AdminPowerAppEnvironment cmd?

     

    Make sure you use the power platform admin account.

     

    https://learn.microsoft.com/en-us/powershell/powerapps/get-started-powerapps-admin?view=pa-ps-latest 

     

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

     

  • Dogmeat26 Profile Picture
    2 on at
    Re: Powershell Powerapps not returning anything

    Yes I did.  Still just returns nothing.  Not even a error message.

  • velegandla Profile Picture
    202 Moderator on at
    Re: Powershell Powerapps not returning anything

    @Dogmeat26 

     

    can you post the PS script here?

     

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

  • tihomir4 Profile Picture
    10 on at
    Powershell Powerapps not returning anything
    I had the same issue if I ran Add-PowerAppsAccount command. 

    The 
    solution for me to open new PowerShell window and just run this command - Get-AdminPowerAppEnvironment. I got a prompt to log in and was able to get the response. 

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 706 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 330 Super User 2025 Season 2

#3
SebS Profile Picture

SebS 226 Moderator

Last 30 days Overall leaderboard

Featured topics