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

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,251)