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