Skip to main content
Community site session details

Community site session details

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

Set-AdminPowerAppAsFeatured: The remote server returned an error: Not Found.

(0) ShareShare
ReportReport
Posted on by 2

Hi Expert,

 

I was trying to set one of our Powerapps APP as AppAsFeatured with this command 

Set-AdminPowerAppAsFeatured -EnvironmentName [envid] -AppName [appid] but i'm getting the below exceptions. 

 

Invoke-WebRequest : {"error":{"code":"ApplicationNotFound","message":"The application
'' could not be found in the tenant ''."}}
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerApps.Administration.PowerShell\2.0.178\Microsoft.PowerApps
.RestClientModule.psm1:81

 

Tried searching thru forum and articles but i did not get information. Can someone share some insights how to resolve this things. 

 

Thank you!

  • velegandla Profile Picture
    202 Super User 2025 Season 1 on at
    Re: Set-AdminPowerAppAsFeatured: The remote server returned an error: Not Found.

    @Hunk 

    Validate if other cmdlets working with your account

     

    Other option: Try running the script with Power Platform admin role?

     

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

    If this response helped you in any way, please give kudos by clicking the 'Thumbs Up'/'Like' button and/or marking it as an 'Accepted Solution'. This helps others by providing a quick way to identify likely solutions to their issues.

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

     

  • Hunk Profile Picture
    2 on at
    Re: Set-AdminPowerAppAsFeatured: The remote server returned an error: Not Found.

    Hi @Velegandla,

     

    Thank you for the info. 

    Already tried it but still getting the not found error. The Apps is accessible thru UI and i had system admin role. I'm not sure why i'm getting this 😞

     

    *****

    Invoke-WebRequest : The remote server returned an error: (404) Not Found.
    At C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerApps.Administration.PowerShell\2.0.178\Microsoft.PowerApps
    .RestClientModule.psm1:86 char:25
    + ... $response = Invoke-WebRequest -Uri $Uri -Headers $Headers -Method $Me ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

     

    Thanks,

    Hunk

  • velegandla Profile Picture
    202 Super User 2025 Season 1 on at
    Re: Set-AdminPowerAppAsFeatured: The remote server returned an error: Not Found.

    @Hunk 

     

    Make sure you are connecting properly using the command below

    Add-PowerAppsAccount
    
     
    Also, check the envID and APPID are correct.
     
    ====================================================

    If this response helped you in any way, please give kudos by clicking the 'Thumbs Up'/'Like' button and/or marking it as an 'Accepted Solution'. This helps others by providing a quick way to identify likely solutions to their issues.

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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics