High severityconfiguration
Power BI Refresh Error:
UserErrorSchemaNotMatch
What does this error mean?
ADF found that the source and sink schemas are incompatible. A column type, name, or structure in the source does not match what the sink expects and cannot be resolved automatically.
Common causes
- 1Source column data type changed (e.g., INT widened to BIGINT or VARCHAR shortened) without updating the sink schema
- 2A required column exists in the sink but is absent or renamed in the source
- 3Auto-mapping is enabled but column names differ between source and sink
- 4Schema drift in the source (e.g., CSV header row removed or reordered)
- 5Explicit column mapping in the copy activity is stale after a source schema change
How to fix it
- 1Open the copy activity in ADF and click 'Import schemas' for both source and sink to refresh the detected schema.
- 2Compare source and sink column lists side-by-side — identify the mismatched or missing column.
- 3Update the explicit column mapping in the copy activity to reflect the current schemas.
- 4If the sink schema must stay fixed, add a derived column transformation upstream to cast the source column to the expected type.
- 5Enable schema drift tolerance in data flows if the source schema changes frequently and the sink can accommodate it.
- 6Check for recent DDL changes on the source table or file format changes on the source storage.
Frequently asked questions
Official documentation: azure-data-factory