I'm working on a SharePoint Online and try to do some filters using REST API but I'm currently facing an issue on my list above 5000 items.
I need to expand multiple fields, all of them are indexed and everything is working fine until I try to filter on a Datetime that is also indexed
For example:
This is working fine:
/_api/web/lists/getByTitle('Entry')/items?$expand=Collaborator, User, Author&$select=* , Author/EMail, Author/Title, Collaborator/Title, Collaborator/EMail, User/Title, User/EMail
But this won't:
/_api/web/lists/getByTitle('Entry')/items?$expand=Collaborator, User, Author&$select=* , Author/EMail, Author/Title, Collaborator/Title, Collaborator/EMail, User/Title, User/EMail&$filter=EntryDate ge datetime'2022-07-16T22:00:00.723Z' and EntryDate le datetime'2022-10-17T21:59:59.723Z'
All columns used are properly indexed but I face the threshold issue and I cannot filter using those columns.