Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Getting the following error on provider hosted app: Sorry, only tenant administrators can add or give access to this app

$
0
0

Hi,

I have created a provider hosted app that needs to be able to read and update a Sharepoint MySite. The app works fine in development but when I try and deploy it to my Sharepoint site with the following permissions in my AppManifest.xml :

Web -  Write
User Profiles - Write
Tenant - Write

I receive the following error message "Sorry, only tenant administrators can add or give access to this app.".

I am logged into the site as a Site Collection Administrator.

If I try and login as a service account then I do not get the message but once I click "Get it" then click "Trust it" I receive and error stating "Sorry, something went wrong" and the app does not get updated. Going through the ULS logs I can find an error that starts with the following "Application error when access /_layouts/15/storefront.aspx, Error=The System Account cannot perform this action."

Can anyone help me with this issue? I have tried Google but cannot find anyone with the same issue.

Regards
Tony


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>