2

The REST API ("/_api" and "/_vti_bin/client.svc") doesn't work with anonymous access in 2013.

Getting System.UnauthorizedAccessException when accessing the above Sharepoint REST API.

stack trace : "{\"error\":{\"code\":\"-2147024891, System.UnauthorizedAccessException\",\"message\":{\"lang\":\"en-US\",\"value\":\"Access denied. You do not have permission to perform this action or access this resource.\"}}}"
3

Unfortunately, the REST services are only working for authenticated users. The REST API ("/_api" and "/_vti_bin/client.svc") doesn't work with anonymous access in 2013.

SharePoint 2013 APIs for anonymous and/or mobile access

SharePoint 2013 and anonymous access problem

0

Kindly use Digest in the header. if you are using _api call

  • 1
    Can you please add more information, some examples of code will help other readers. – Asad Refai Dec 3 '15 at 11:47

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.