Hi @KarthikShanth ,
Thank you for posting query in Microsoft Q&A Platform.
I have gone through documentation of MongoDB connector in ADF. It looks The service supports consuming BSON document in Strict mode. Make sure your filter query is in Strict mode instead of Shell mode. More description can be found at MongoDB manual.
Below is sample filter expression.
"filter": "{datetimeData: {$gte: ISODate(\"2018-12-11T00:00:00.000Z\"),$lt: ISODate(\"2018-12-12T00:00:00.000Z\")}, _id: ObjectId(\"5acd7c3d0000000000000000\") }"
Kindly check below documentation for more details and see if that helps. Please let us know how it goes.
https://learn.microsoft.com/en-us/azure/data-factory/connector-mongodb?tabs=data-factory