Receiving a 401 Unauthorized - General exception while processing error when performing a GET request to a SharePoint site

Richard Hardin 25 Reputation points
2025-05-28T22:41:39.68+00:00

Hello,

I am attempting to make a GET request to the MS Graph API to get lists from a SharePoint site. The endpoint that I am using is. https://graph.microsoft.com/v1.0/sites/{site-id}/lists

When running the request, I receive a 401 unauthorized response with the following error:

Response body:

{

"error": {

"code": "generalException",

"message": "General exception while processing",

"innerError": {

"date": "2025-05-28T22:35:43",

"request-id": "bdd68acc-1bd0-49e0-9b92-fad634330de8",

"client-request-id": "bdd68acc-1bd0-49e0-9b92-fad634330de8"

}

}

}

In Microsoft Entra, SharePoint has the "Sites.FullControl.All" permissions. Do any other permissions need to be added in order to prevent this error? "General Exception while processing" is quite vague and does not provide any clarity to the root cause. Any help would be greatly appreciated.

Thanks!

Microsoft 365 and Office | SharePoint | Development

1 answer

Sort by: Most helpful
  1. Markus Bell 25 Reputation points
    2025-11-13T08:38:08.2866667+00:00

    If it's "just" a List command, pls check the content permissiv in Graph explorer, if it's aPUT (e.g. putting a file somewhere), I git the same issue.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.