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

SharePoint REST Error: "Access denied. You do not have permission to perform this action or access this resource."

Cause-As you are calling the REST API request without logged in on SharePoint Online. Or You have limited permission to access the required resource.

Solution: If you are not in on SharePoint then Logged in then problem will get resolved. Or If you have limited user permission then you need to ask access permission to the System Admin/SharePoint Admin.
After getting permission your problem will be resolved.




Comments

Popular posts from this blog

Get list item entity type full name of a SharePoint list using REST API

Get SharePoint list name by GUID

Get Current Web Logged In User of SharePoint Site in jQuery