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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (1,591)