Share via

SharePoint list data retrieval via Graph API intermittently fails with 500 internal server error

Mac Arnetta 60 Reputation points
2025-09-30T13:04:12.14+00:00

SharePoint Graph API endpoint GET https://graph.microsoft.com/v1.0/sites/{siteId}/lists/{listId}/items?$expand=fields intermittently fail with 500 Internal Server Error or 503 Service Unavailable.

We have already verified access tokens using MSAL, tested with reduced query complexity by removing $expand and $filter, and confirmed there are no conditional access or throttling policies in place.

Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

Vergil-V 14,765 Reputation points Microsoft External Staff Moderator
2025-09-30T14:00:42.18+00:00

Hi @Mac Arnetta 
Thank you for reaching out to the Microsoft Q&A forum      
Based on your description, I understand you're encountering intermittent failures with 500 Internal Server Error or 503 Service Unavailable when calling the SharePoint Graph API endpoint: 

GET https://graph.microsoft.com/v1.0/sites/{siteId}/lists/{listId}/items?$expand=fields 

From my research, if you've already simplified the query and the issue still persists, it's quite possible that the root cause is related to server-side processing of the SharePoint list. 

To better assist you, may I kindly ask: 
Does the response include a Retry-After header? 
If so, honoring this header is often the most effective way to mitigate the issue. 

undefined

You can find more details in the official references below: 

Additionally, may I ask how many items are in the SharePoint list? 
If the list contains a large number of items, you might consider adding $top=100 to the query. This can help determine whether the issue is related to server load or data volume. 

If the issue continues, would you be able to share a screenshot of the Graph API response? 
This would help us visually confirm the behavior and provide more targeted support. 

I sincerely hope this information partially clarifies your situation and assists you in planning your solution.  Please know that while our initial response might not resolve the issue right away, your input is incredibly valuable. With a bit more detail, we’ll work together to find the best solution for you.  


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".         

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.   

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

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.