Error on installing SharePoint App for Online

Occasional Contributor

have simple SharePoint App (addin). I want to deploy it using Visual Studio by pressing F5 (called side loading).

I have created new SharePoint Online tenant and new site collection using Developer template.

Deploy from F5 is working until I add "User Profile" = "Read" permission to app manifest. After that I am receiving error: "Sorry, only tenant administrators can add or give access to this app"

enter image description here

I can deploy it using App Catalog > approve > install on site collection. But fore development I want do this from VS > F5.

Do you know how to resolve this error?

2 Replies
There is an issue in SPO in regards of installing AddIns that could be also the source of the error you are getting
do you have more details about this, any link to share?