The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
I would like to share some additional insight alongside the AI response. You may want to consider indexing your Month column to help SharePoint avoid performing a full scan before applying the filter. This can help reduce the chance of hitting errors such as “The number of items in this list exceeds the list view threshold.”
In addition, based on common approaches, many users combine paging methods with row limits, as mentioned in the AI response, to retrieve items in SharePoint. This allows you to retrieve items sequentially without reaching the 5000 item limit in a single request.
Reference:
- The number of items in this list exceeds the list view threshold - SharePoint | Microsoft Learn
- Add an index to a list or library column - Microsoft Support
If you are familiar with Power Automate, you may also find this discussion helpful for handling the 5000 items limit in flows: Solved: Best method to to get more than 5000 items from SharePoint Online in Flow
For Microsoft Graph API, you could consider using List items - Microsoft Graph v1.0 | Microsoft Learn. It does not return all items in one response, but it provides OData links that allow you to continue retrieving items in sequence until you reach the end of the list.
I hope this brings additional insight.
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.