Sorry, only tenant administrators can add or give access to this app.

Sorry, only tenant administrators can add or give access to this app.

Sorry, only tenant administrators can add or give access to this app, if you are getting this error then you are on the right page. I faced this issue and it took me more than expected time to solve it on my local environment. Microsoft SharePoint is no doubt very good platform to manage everything under one location but sometime it gives you very strange errors like “Sorry, only tenant administrators can add or give access to this app” even though the current user is the farm administrator of the share point server farm. this can happen when you are not the local administrator of the machine which is being used as the server which is hosting the share point.

There are two work around of this error:

First workaround

I added the user in server’s local administrator group which was trying to add the app in Share Point.

Second Workaround

Navigate to under given path and open AppPermissionProvider.Search.xml in notepad editor:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG contains the various app Permission Request Scopes. In these XML files is to define which level of authorization is required, the application for specific functions: Its better to use an example to change the permissions like AppPermissionProvider.Search.xml permission of “TenantAdmin” in “Site Collection Admin” must be changed so that each site collection administrator can install the apps that want to access. For this purpose, the value of the Tag Name “RequiredRight” must be changed from TenantAdmin to Site Collection Admin.

<Alias ​​Name = “Search” Value = “http://sharepoint/search” RequiredRight = “TenantAdmin” />
Replace the above live with the under given one:

<Alias ​​Name = “Search” Value = “http://sharepoint/search” RequiredRight = “Site Collection Admin” />

If you are coping the command, make sure you are not missing any tag from the end or start.