Share via

ADF Oracle V2 Linked Service – “Failed to import source schema. Cannot read properties of undefined (reading 'toLowerCase')

Mohamed Youssef Ehab Ahmed Ghanem 0 Reputation points
2026-02-19T15:43:07.47+00:00

I’m facing an issue in Azure Data Factory when using an Oracle V2 linked service. When I try to import the source schema in the Copy Activity mapping tab, I receive the following error:

"Failed to import source schema. Cannot read properties of undefined (reading 'toLowerCase')"

However, the Preview Data feature works correctly with the same dataset and linked service, so the connection itself seems fine.

Additional notes:

  • This issue occurs only with Oracle V2 linked services.
  • Other linked services (e.g., SQL Server, Azure SQL, etc.) do not show this problem.
  • The Oracle driver and credentials are valid, and the test connection succeeds.

Has anyone encountered this error before, or is this a known issue with Oracle V2 in ADF? Any guidance or workaround would be appreciated.

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 41,481 Reputation points MVP Volunteer Moderator
    2026-02-19T16:23:59.8233333+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    Yes, this is a known quirk with the Oracle V2 connector in adf when the metadata returned by Oracle does not fully match what ADF expects. Preview works because it only runs the query, but schema import fails when column metadata (for example mixed-case names, synonyms, unsupported data types, or empty column aliases) is returned as null, which triggers the toLowerCase error in the UI.

    Typical workarounds are to avoid auto import and define mappings manually, use a custom query with explicit column aliases in upper case, or create a view in Oracle and point adf to that view instead of the base object. If possible, also check that you are on the latest Oracle client/ODBC version and try switching to query mode rather than table mode, as that often bypasses the metadata bug.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.