I started writing far too much as a response, here,
@CU16010044-0, but to just speak to the OData of it all in VERY brief terms that
@Expiscornovus quite rightly noted should work.
It technically does not list using dates as an available option with 'ge' or 'le' functions ...
That being said, the *Graph* API does state it explicitly with examples, here:
So, you may wish to switch to SP actions using the 'Send an HTTP request to SharePoint' action to get your data.
If you do, I can highly recommend two things:
- No Meta Data - Use 'nometadata' flags in 'Content-Type' and 'Accept' headers this reduces what you need to include for many requests, and the junk data that you get back in response:
- SharePoint API V1 (OData V2)
- application/json; odata=nometadata
- SharePoint API V2 / Graph API (OData V4)
- application/json; odata.metadata=none
- StaticDataObjCNST - Make a 'Parse JSON' with this name as one of the first two actions of your flow, and include manually input data that you will re-use throughout the flow
I actually make two of those Parse JSON 'constants' things, one at the start, and another in a Scope where I 'Set...' variables, right at the end of the scope, and name it:
ConstantsObjCNST
That allows me to have some 'constants' that are dependent on some other data, pulled through earlier on. :-)
Either way, doing this will make any requests that you make using the 'HTTP' action sooooo much easier ... plus it will reduce the amount of 'single use' variables you may create. 👍
---
Finally, if you do make the (potentially difficult) switch to using 'HTTP' action with SharePoint API V2, then I think you might wish to take a look at this section of the Graph 'files' endpoint as it looks very powerful ... ;-)