Reputation: 184
I am working on SharePoint add-in. All works fine but few days ago I have got this kind of error/warning "Your tenant administrator has to approve this app." It happen when app deployed and you have to choose "Trust It" or "Cancel". Trust button is not active. Also I have tenant admin rights.
Here is a pace of AppManifest file.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>
Maybe I need to set rights somewhere else to solve this problem?
Upvotes: 2
Views: 4726
Reputation: 1225
Solution found, just tried and worked.
MS has recently made a change, which seems to have gone quietly. If you need any tenant level permission for your App only provider hosted app, you need to add permission in tenant admin site and not in any of the site collection
http://sharepointitis.blogspot.com.au/2016/09/app-only-policy-with-tenant-level.html
Upvotes: 2
Reputation: 115
If working in Sharepoint Online, here are two solutions:
Upvotes: 1