cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tchagan1970
Regular 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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,232)