Error during generating ARM templates - Cannot set properties of undefined (setting 'supportLegacyDataTypes')

Ignacy Jakowiecki 40 Reputation points
2023-12-20T14:56:45.79+00:00

Hello.

Since few days I have a problem when publishing in Azure Data Factory. The publish goes through successfully, I can see my changes in Live Mode (to existing pipelines or entirely new pipelines), but the next step: 'Genarating ARM templates' fails with following message:

{"stack":"Error: TypeError: Cannot set properties of undefined (setting 'supportLegacyDataTypes')\n at https://adf.azure.com/main.cec64f9999b729ee.js:1:8859622\n at Generator.throw (<anonymous>)\n at e (https://adf.azure.com/main.cec64f9999b729ee.js:1:10706251)\n at i (https://adf.azure.com/main.cec64f9999b729ee.js:1:10706489)\n at T.invoke (https://adf.azure.com/polyfills.d3546da007079197.js:1:144971)\n at Object.onInvoke (https://adf.azure.com/main.cec64f9999b729ee.js:1:10955105)\n at T.invoke (https://adf.azure.com/polyfills.d3546da007079197.js:1:144910)\n at Y.run (https://adf.azure.com/polyfills.d3546da007079197.js:1:140251)\n at https://adf.azure.com/polyfills.d3546da007079197.js:1:155330\n at T.invokeTask (https://adf.azure.com/polyfills.d3546da007079197.js:1:145591)\n at Object.onInvokeTask (https://adf.azure.com/main.cec64f9999b729ee.js:1:10954910)\n at T.invokeTask (https://adf.azure.com/polyfills.d3546da007079197.js:1:145512)\n at Y.runTask (https://adf.azure.com/polyfills.d3546da007079197.js:1:140889)\n at ee (https://adf.azure.com/polyfills.d3546da007079197.js:1:147650)\n at invokeTask (https://adf.azure.com/polyfills.d3546da007079197.js:1:146680)\n at invoke (https://adf.azure.com/polyfills.d3546da007079197.js:1:146551)\n at v.args.<computed> (https://adf.azure.com/polyfills.d3546da007079197.js:1:166880)","message":"TypeError: Cannot set properties of undefined (setting 'supportLegacyDataTypes')"}

User's image

As during next publish it makes comparison vs arm templates, I can publish the same resources again, as it does not have the latest version in adf_publish branch to compare to.

As mentioned, all changes are published successfully, I can run the newest version of pipelines, but I would like to fix this error as well.

Thanks for assistance

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,648 questions
{count} vote

Accepted answer
  1. William Soliman Soares 100 Reputation points
    2024-01-11T19:48:13.77+00:00

    Hi everyone. We may have found a clue/solution.

    Check all the linked services and see if there us one that is no longer supported. It worked for us. User's image

    That was the cause of our error. Hope this helps!

    4 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 37,971 Reputation points Microsoft Employee
    2024-01-12T15:04:43.2566667+00:00

    Hi Ignacy Jakowiecki,

    Internal team, deployed fix for this issue. Kindly consider refreshing browser and retry, it should solve the issue.

    Hope this helps.

    ---Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.

    0 comments No comments