I am working with a client to transfer date records over from Dynamics 365 via Data Factory over to an Azure SQL Server for further transfer to an external system.
The client has set up their Dynamics 365 instance in a way where the date fields follow the "UserLocal" behaviour, as opposed to "DateOnly", which would have been the suggested option as per the documentation:
They are not able to change this behaviour due to business logic that has been built on top of it.
When we transfer these date rows over to Azure SQL Server we get the date values adjusted by the system timezone (UTC), which for us is a difference of -1 hrs (our time zone is UTC +1). This results in a scenario where we get incorrect dates in the SQL tables.
Is there a way to easily adjust this in Azure Data Factory for a copy pipeline with the Common Data Service connector as source and SQL Server as sink? The date values are translated over as string values into the SQL Server.
Thank you in advance and I look forward to your thoughts on the above!