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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard