<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copy data Oracle Timezone Issue in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4906947#M14218</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1462392"&gt;@eleonb&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/861055"&gt;@Zanqueta&lt;/a&gt;&amp;nbsp; for your inputs.&lt;/P&gt;
&lt;P&gt;I just wanted to check if the issue has been resolved on your end, or if you require any further assistance. Please feel free to let us know, we’re happy to help!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;BR /&gt;Chaithra E.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Dec 2025 11:25:27 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2025-12-22T11:25:27Z</dc:date>
    <item>
      <title>Copy data Oracle Timezone Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4900616#M14038</link>
      <description>&lt;H2&gt;&lt;STRONG&gt;Context / Background&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;We are using &lt;STRONG&gt;Fabric&lt;/STRONG&gt; to copy data from an internal Oracle database via an &lt;STRONG&gt;On-Premises Data Gateway&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The Oracle database has &lt;STRONG&gt;TZFILE version 14&lt;/STRONG&gt; (timezlrg_14.dat). I do &lt;STRONG&gt;not&lt;/STRONG&gt; have the ability to modify anything directly in the database.&lt;/P&gt;&lt;P&gt;The connection works from &lt;STRONG&gt;Dataflows&lt;/STRONG&gt;, but &lt;STRONG&gt;NOT from a Copy Data Activity in a pipeline&lt;/STRONG&gt;, which throws the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;ORA&lt;SPAN class=""&gt;-00604&lt;/SPAN&gt;: error occurred at &lt;SPAN class=""&gt;recursive&lt;/SPAN&gt; &lt;SPAN class=""&gt;SQL&lt;/SPAN&gt; &lt;SPAN class=""&gt;level&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt; ORA&lt;SPAN class=""&gt;-01882&lt;/SPAN&gt;: timezone region &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;found&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The Data Gateway is inside the same corporate network, with &lt;STRONG&gt;UTC time zone&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The connection string being used is standard, for example:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;(DESCRIPTION = (FAILOVER=ON) (ADDRESS = (PROTOCOL = TCP)(HOST = 10.xx.xxx.xxx)(PORT = xxxx)) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = xxxxxxx) (FAILOVER_MODE=(TYPE=SESSION)(METHOD=BASIC)) ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;H2&gt;&lt;STRONG&gt;Investigations / Troubleshooting performed&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Gateway server time zone&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Confirmed as (UTC) Coordinated Universal Time → correct.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;ODP.NET driver (v19) on the gateway server&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Tried replacing Oracle.ManagedDataAccess.dll with version 12.2.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Tried creating oracle.manageddataaccess.client.config with UseTZRegion=false.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Nothing solved the problem.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I need to run these queries from a &lt;STRONG&gt;pipeline&lt;/STRONG&gt;, since they are very heavy queries that make it very difficult to work with them from Dataflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help on this issue. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:27:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4900616#M14038</guid>
      <dc:creator>eleonb</dc:creator>
      <dc:date>2025-12-12T12:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data Oracle Timezone Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4900743#M14051</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;This is a known issue when connecting to Oracle via ODP.NET in environments where the &lt;STRONG&gt;timezone region mapping&lt;/STRONG&gt; is not fully supported by the Oracle client or the gateway configuration. The error:&lt;/DIV&gt;&lt;PRE&gt;ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found&lt;/PRE&gt;&lt;DIV class=""&gt;occurs because Oracle tries to resolve the timezone region from the client session, and the region is not recognised by the database's TZFILE version.&lt;/DIV&gt;&lt;HR /&gt;&lt;H3&gt;&lt;STRONG&gt;Why Dataflows Work but Pipelines Fail&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Dataflows use Power Query connectors that handle timezone differently (often defaulting to UTC).&lt;/LI&gt;&lt;LI&gt;Pipelines with &lt;STRONG&gt;Copy Data&lt;/STRONG&gt; rely on the ODP.NET driver and pass the client timezone region, which Oracle cannot resolve.&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;STRONG&gt;Workarounds&lt;/STRONG&gt;&lt;/H3&gt;&lt;DIV class=""&gt;Since you cannot modify the database, you need to adjust the &lt;STRONG&gt;client-side behaviour&lt;/STRONG&gt;:&lt;/DIV&gt;&lt;H4&gt;&lt;STRONG&gt;Option 1: Force UTC in the Connection&lt;/STRONG&gt;&lt;/H4&gt;&lt;DIV class=""&gt;Add the following to your connection string:&lt;/DIV&gt;&lt;PRE&gt;;Connection Timeout=30;Validate Connection=true;DefaultTimeZone=UTC&lt;/PRE&gt;&lt;DIV class=""&gt;or explicitly set:&lt;/DIV&gt;&lt;PRE&gt;ALTER SESSION SET TIME_ZONE = 'UTC';&lt;/PRE&gt;&lt;DIV class=""&gt;You can run this as a &lt;STRONG&gt;Pre-copy script&lt;/STRONG&gt; in the Copy Data activity:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;ALTER SESSION SET TIME_ZONE = 'UTC';&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;This avoids Oracle trying to resolve the region from the client.&lt;/DIV&gt;&lt;HR /&gt;&lt;H4&gt;&lt;STRONG&gt;Option 2: Use UseTZRegion=false in ODP.NET Config&lt;/STRONG&gt;&lt;/H4&gt;&lt;DIV class=""&gt;You mentioned trying this, but ensure:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;The file oracle.manageddataaccess.client.config is in the same directory as the gateway executable.&lt;/LI&gt;&lt;LI&gt;It contains:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;configuration&amp;gt;
  &amp;lt;oracle.manageddataaccess.client&amp;gt;
    &amp;lt;version number="*"&amp;gt;
      &amp;lt;setting name="UseTZRegion" value="false"/&amp;gt;
    &amp;lt;/version&amp;gt;
  &amp;lt;/oracle.manageddataaccess.client&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Restart the gateway after applying this.&lt;/DIV&gt;&lt;HR /&gt;&lt;H4&gt;&lt;STRONG&gt;Option 3: Upgrade Oracle Client&lt;/STRONG&gt;&lt;/H4&gt;&lt;DIV class=""&gt;If possible, use &lt;STRONG&gt;ODP.NET Managed Driver v21 or later&lt;/STRONG&gt;, as older versions have known issues with TZFILE compatibility.&lt;/DIV&gt;&lt;HR /&gt;&lt;H3&gt;&lt;STRONG&gt;Why Groups or Service Principals Are Not Relevant Here&lt;/STRONG&gt;&lt;/H3&gt;&lt;DIV class=""&gt;This is purely a timezone resolution issue, not an authentication problem.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;Reference:&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/connector-oracle?tabs=data-factory" target="_blank" rel="noopener"&gt;Copy data to and from Oracle - Azure Data Factory &amp;amp; Azure Synapse | Microsoft Learn&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;If this response was helpful in any way, I’d gladly accept a &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;much like the joy of seeing a DAX measure work first time without needing another FILTER.&lt;/P&gt;&lt;P&gt;Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop &lt;span class="lia-unicode-emoji" title=":cyclone:"&gt;🌀&lt;/span&gt;.&lt;/P&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Dec 2025 15:34:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4900743#M14051</guid>
      <dc:creator>Zanqueta</dc:creator>
      <dc:date>2025-12-12T15:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data Oracle Timezone Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4901054#M14053</link>
      <description>&lt;P&gt;Thanks for the response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;After extensive testing, it looks like this is a limitation of the OracleV2 driver used by Fabric Copy Activity.&lt;/P&gt;&lt;P&gt;The activity copy data does not allow pre-copy scripts, does not respect ODP.NET configuration files, and does not use the Oracle client installed on the gateway , I suspect Fabric use its own driver located in the datagateway server in FabricIntegrationRuntime\...\sxs\OracleV2Unbundle. Also in the connection configuration I cannot include the options you mention in the connection string, given that Fabric only let me put the Oracle Descriptor inside the Server field when creating the connection.&lt;/P&gt;&lt;P&gt;As a result, there is no supported way to force UTC or disable timezone region mapping when connecting to Oracle databases using TZFILE 14.&lt;/P&gt;&lt;P&gt;Dataflows work because they use a different connector that handles timezones differently as you mention.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 08:57:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4901054#M14053</guid>
      <dc:creator>eleonb</dc:creator>
      <dc:date>2025-12-13T08:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data Oracle Timezone Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4904515#M14132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1462392"&gt;@eleonb&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;Thank you for sharing the detailed findings and for taking the time to thoroughly investigate this behavior. As this is a current limitation of the OracleV2 connector used by Fabric Copy Data activities, which does not support pre-copy scripts, custom ODP.NET configurations, or external Oracle client settings on the gateway. We appreciate you clearly outlining the differences in behavior between Dataflows and Pipelines, as this information will be valuable for other customers encountering similar scenarios. We recommend submitting this as a feature request here&amp;nbsp;&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas" target="_blank"&gt;Fabric Ideas - Microsoft Fabric Community&lt;/A&gt;&amp;nbsp; so the product team can evaluate support for enhanced timezone handling in future updates.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Chaithra E.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 06:30:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4904515#M14132</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-12-18T06:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Copy data Oracle Timezone Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4906947#M14218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1462392"&gt;@eleonb&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/861055"&gt;@Zanqueta&lt;/a&gt;&amp;nbsp; for your inputs.&lt;/P&gt;
&lt;P&gt;I just wanted to check if the issue has been resolved on your end, or if you require any further assistance. Please feel free to let us know, we’re happy to help!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;BR /&gt;Chaithra E.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 11:25:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-data-Oracle-Timezone-Issue/m-p/4906947#M14218</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-12-22T11:25:27Z</dc:date>
    </item>
  </channel>
</rss>

