Receiving a 401 Unauthorized - General exception while processing error when performing a GET request to a SharePoint site
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!