This can be solved by updating host.json
{
"version": "2.0",
"extensions": {
"cosmosDB": {
"serializerSettings": {
"dateParseHandling": "None"
}
}
}
}
https://github.com/Azure/azure-functions-dotnet-worker/issues/2442#issuecomment-2625783557