question

GreenArrow-0825 avatar image
0 Votes"
GreenArrow-0825 asked TongZhangMSFT-7548 commented

SharePoint Server: Permissions required to install a SharePoint-hosted app?

We are running SharePoint Server 2016 and have developed a SharePoint-hosted app. The app reads lists from the current site collection and it uses the search engine to do so. The problem is that very high permissions are required to install the app, and I cannot understand why.

I have two questions:

1) When a site collection administrator tries to install our app to a site collection, the following error message is displayed:
"Your tenant administrator has to approve this app. Request Approval."

How can I let users install our app without approval? We don't want to approve every app.

2) Currently, I can only install the app if I am also a Local Administrator in Windows on the Web Front-End server. Why is this required?

The only permissions that are listed on the "Do you trust this app?" page are the following:
• Let it read items in this site collection.
• Let it access basic information about the users of this site.
• Allow this app to execute search queries on your behalf, ignoring the app's permissions on result items.

From the AppManifest.xml:

202373-image.png

Very grateful for any help!





office-sharepoint-server-administrationoffice-sharepoint-server-development
image.png (10.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @GreenArrow-0825,

I am currently doing some research on this issue, will let you know as soon as possible.

1 Vote 1 ·

1 Answer

TongZhangMSFT-7548 avatar image
0 Votes"
TongZhangMSFT-7548 answered TongZhangMSFT-7548 commented

Hi @GreenArrow-0825,

According to my research and testing, I found that "When the app requires organization-level permissions, the requestor will need approval from a Microsoft 365 admin to continue with the installation."

More information for reference: https://docs.microsoft.com/en-us/sharepoint/request-app-installation-permissions


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @GreenArrow-0825,

I am checking to see if the problem has been resolved. If you have any questions or progress, you can contact me in time.

0 Votes 0 ·