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 / Powershell Powerapps n...
Power Apps
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.

I have the same question (0)
  • velegandla Profile Picture
    204 Moderator on at

    @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

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

  • velegandla Profile Picture
    204 Moderator on at

    @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
    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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard