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 / Set-AdminPowerAppAsFea...
Power Apps
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!

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

    @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/ 
     
     
  • Hunk Profile Picture
    2 on at

    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
    204 Moderator on at

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

     

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