I am using the below filters for the graph api request.
?$filter=lastModifiedDateTime ge 2023-10-06T06:48:54Z&$select=name,lastModifiedDateTime,@microsoft.graph.downloadUrl
I am getting the following error:
{
"error": {
"code": "invalidRequest",
"message": "Invalid request"
}
}
The request cannot be fulfilled due to bad syntax.
This is the list of items without the filter condition.
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
"value": [
{
"@odata*.etag": "***",
"lastModifiedDateTime": "2023-10-06T06:48:54Z",
"name": "Archive"
},
{
"@odata.etag": "**",
"lastModifiedDateTime": "2024-05-07T06:53:10Z",
"name": "Pricing_Reference_Data_from_Source_Report.xlsx"
}
]
}
Could you please help me understand what the issue with the above syntax is? Thanks in advance.
'2023-10-06T06:48:54Z'datetime'2023-10-06T06:48:54Z'