0

I tried this :

enter image description here

But get error: "Access denied. You do not have permission to perform this action or access this resource."

Knowing that accessing the list 'Clients' works!

2 Answers 2

0

I believe when you create an AppId and AppSecret for SharePoint, There is a step when you use Permission Request XML in order to give permission the your app, you should give it "FullControl" right to let you do what ever action you want.

<AppPermissionRequests AllowAppOnlyPolicy="true">
  <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" />
</AppPermissionRequests>

I hope this will fix your error,

Best regards.

1
  • Thank you very much! Commented Nov 13, 2019 at 17:18
0

You likely have "Contribute" access to the list, which will allow you to view, add, edit and delete items in the list, but not make any changes to the list itself.

What you need is "Edit" permission, because that adds the ability to manage lists, which will allow you to change the permissions set on the list itself.

Here and here are two Microsoft articles explaining permission levels in SharePoint.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.