Medium severitydata source
Power BI Refresh Error:
SqlAutoCreateTableTypeMapFailed
What does this error mean?
ADF could not auto-create the destination SQL table because it could not map one or more source column types to SQL Server types.
Common causes
- 1A source column has a data type that ADF cannot automatically map to a SQL Server type (e.g., complex JSON, custom binary)
- 2The source schema contains a column with an unsupported precision or scale combination
- 3A column name in the source contains characters not allowed in SQL Server column names
How to fix it
- 1Disable auto-create table in the copy activity sink and manually create the destination table with the correct schema.
- 2Review the source schema and identify the column type that failed to map — convert it to a compatible type in the source transformation.
- 3Use a data flow transformation before the copy activity to cast unsupported types to SQL-compatible equivalents.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-synapse-sql