Fix Microsoft Graph SharePoint API GeneralException 500 Error
Question details
Developers experience an HTTP status 500 GeneralException error when calling UserFollowedSitesCollectionWithReferencesRequest.GetAsync via Microsoft Graph SharePoint integrations.

- Product
- Microsoft Graph API
- Device & OS
- not provided
- Scenario
- Developing or maintaining a Microsoft Graph SharePoint integration that retrieves user-followed sites.
- Observed behavior
- The API unexpectedly returns a generalException error with HTTP status 500 instead of the expected site collection, preventing the application from retrieving followed sites.
Check the Microsoft 365 Service Health Dashboard in your admin center to ensure there are no ongoing service outages affecting SharePoint Online or Microsoft Graph APIs.
Post the Issue to Microsoft Q&A for Investigation
Since HTTP 500 errors typically indicate server-side infrastructure issues or unannounced API changes, escalating the issue directly to Microsoft engineers is the most effective resolution.
A 500 GeneralException often means the server encountered an unexpected condition. Because this occurs on Microsoft's end, client-side code changes alone usually cannot fix the root cause.
Collect your request code, API endpoint URL, authentication permissions, tenant context, exact timestamp of the failure, and the full exception stack trace.
Visit the official Microsoft Q&A portal specifically for SharePoint Online developers.
Post a new question detailing your issue. You must include the `sharepoint-dev` and `office-sharepoint-online` tags so the relevant Microsoft specialists can locate and investigate your thread.

Verify Application Permissions and Token Context
While 500 errors are usually server-side, validating your app registration and access tokens can rule out edge cases where permission errors are improperly handled by the API.
Looking for a simpler document solution? Try WPS Office
If you are tired of dealing with complex Microsoft 365 configurations and just need a reliable, lightweight suite for your documents, WPS Office offers a powerful, seamless alternative without the API overhead.
- 1. Download the installer: Visit the official WPS website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installer and follow the quick, easy setup instructions.
- 3. Open your files: Launch WPS Office and instantly open or edit your existing Microsoft Office documents with zero formatting loss.

Frequently Asked Questions
What does an HTTP 500 GeneralException mean in Microsoft Graph API?
An HTTP 500 error signifies an 'Internal Server Error.' In the context of the Microsoft Graph API, this typically points to a server-side problem, a temporary service outage, or a backend bug within Microsoft's infrastructure rather than a mistake in your client-side code.
How can I monitor Microsoft Graph API outages?
You can monitor overall service health by logging into the Microsoft 365 admin center and navigating to Health > Service health. This dashboard reports active incidents, service degradations, and advisories for SharePoint and Microsoft Graph APIs.
Are there temporary workarounds for the UserFollowedSitesCollection error?
If the specific Graph API endpoint for followed sites is failing, you might temporarily use the older SharePoint REST API equivalent (e.g., /_api/social.following/my/followed) to retrieve similar data until Microsoft resolves the Graph API issue.




