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

Announcements

News and Announcements icon
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.

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard