Have you checked if both ADF and CosmosDB are up-to-date, as recent updates might address this issue ?
Also, verify that the Managed Identity has the necessary permissions, such as the Cosmos DB Account Reader Role and Contributor Role.
You can check if additional properties related to Managed Identity that might affect the detectDatetime
setting are available in the REST API or ARM templates, which may not be exposed in the UI.
Another thing, try to compare the JSON configurations of key-based and Managed Identity-based pipelines to identify any discrepancies. If the issue persists, consider using ADF Data Flows for more granular control over data transformations, ensuring datetime offsets are preserved correctly.
If none of these steps resolve the problem, you can reach out to Azure Support.