I am retrieving items from SP lists. But when I try to deploy my solution through VS 2013 it says

Access denied. You do not have permission to perform this action or access this resource.

Knowing that I am developing a provider hosted app and retrieving items using CSOM. Someone help me?

2 Answers 2


Make sure Nedia you follow all the steps explained here: Link.

Or you can refer this example here.

I doubt that there might be some problem with the App permission you are assigning for the app.

Using CSOM you can do your operation but for that first you need to assign the permission to your app to access those functionalities.

Hope this helps!

  • 1
    Thank you, I was having this issue and the problem was with the manifest
    – yngrdyn
    Commented Aug 13, 2015 at 13:41

In AppManifest.xml file add Permission for your app.

If you are performing CRUD operations on List Or Library then provide necessary Permission based on scope.

eg: We are using Manage Permission for developer on Site Collection Scope.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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