I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint.

I'm using the Sharepoint 2013 REST and trying to get access tokens - authenticate using methods described in this solution: http://msdn.microsoft.com/en-us/library/office/jj687470(v=office.15).aspx

I've registered the app using the Seller portal. And now I'm redirect user to the auth url:


This works fine as far as I'm logged in as the site administrator. I'm then asked to approve/trust the app (with a given permission - Web.Create).

But this doesn't work at all with non-site-admin account, when I'm logged in as non-admin user, I get just 'access denied' as a response from the OAuth.

Is there any way to use the sharepoint api - and being able to copy/read files - to the global sharepoint site using non-admin users?

Thanks a lot for any suggestions!


Trusting the SharePoint app must be done by an administrator. Users with permissions to write and read to document libraries in other site collections can copy and read files from these document libraries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.