cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tchagan1970
Frequent Visitor

Setting a Featured App not working

Hi all,

 

I'm using the PowerApps Admin cmdlet Set-AdminPowerAppAsFeatured, however, it's not working, I get the following error:

 

Invoke-WebRequest : {"error":{"code":"Forbidden","message":"The user with object id '<my aad id>' does not have permission to
access the path '/providers/Microsoft.PowerApps/apps/<app ID>/acquireLease'.","details":[{"code":"PowerAppsNoAccess","message":"The user
does not have access to the app."}]}}

 

I'm a Power Apps Admin, I can update the app through the PowerShell cmdlets though I don't have direct access to to the app itself.

 

regards

Terry

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @tchagan1970 :

Please add your Office 365 Administrator as Co-Owner of the application and run the script again.

This article mentions why you need to do this:

SUPPRESS USER CONSENT POPUP IN POWERAPPS 

Best Regards,

Bof

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @tchagan1970 :

Please add your Office 365 Administrator as Co-Owner of the application and run the script again.

This article mentions why you need to do this:

SUPPRESS USER CONSENT POPUP IN POWERAPPS 

Best Regards,

Bof

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (1,716)