Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Please help appriciated Commented Aug 7, 2018 at 18:39
  • You can see in my answer below that it is not enough to register an app only by going to xxxx.sharepoint.com/_layouts/15/appregnew.aspx. Commented Aug 8, 2018 at 7:27
  • I tried your first link Granting access using SharePoint App-Only but my REST API still give access denied Commented Aug 8, 2018 at 7:31
  • what kind of permissions did you give? Commented Aug 8, 2018 at 7:32
  • Also, how does the data payload look like? Do follow the exact format stated on Microsoft docs? docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/… because I can see that you are missing two headers, x-RequestDigest and content-length Commented Aug 8, 2018 at 7:37