Share via

Sharepoint API Unauthorized Operation

Anonymous
2023-09-14T16:20:07+00:00

Hi Experts,

I'm having the error below when invoking the SharePoint API via Postman.

Request URL:

https://<site_domain>/_api/web/GetFolderByServerRelativeUrl('/teams/SuccessFactorPhotoIntegration/Shared%20Documents/Photo')/Files

<?xml version="1.0" encoding="utf-8"?> <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-2147024891, System.UnauthorizedAccessException</m:code><m:message xml:lang="en-US">Attempted to perform an unauthorized operation.</m:message></m:error>

Any suggestion on have to overcome this issue?

Thank you.

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-15T04:41:02+00:00

    Dear Andre,

    Good day!!

    I understand your concern but since it’s related to SharePoint API, I suggest you to post your concern in the Questions - Microsoft Q&A to get the detailed help from the experts.

    Apologies for redirecting you to a different community as the members in the category posted focus on the users with the out-of-the box concerns and have limited knowledge of the API; so to get the fast and better assistance, we have redirected you to the correct community.

    Appreciate your patience and understanding. Have a great day!!

    Best Regards,

    Sophia

    Was this answer helpful?

    0 comments No comments