Medium severityconfiguration
Power BI Refresh Error:
DF-Synapse-InvalidDatabaseType
What does this error mean?
The Synapse linked service is connected to an incompatible database type — for example, a serverless pool endpoint where a dedicated pool is required, or a Spark database instead of a SQL pool.
Common causes
- 1The linked service server endpoint points to the serverless SQL pool (<workspace>-ondemand.sql.azuresynapse.net) but the data flow requires a dedicated pool for write operations
- 2The database in the dataset refers to a Spark database or Lake database rather than a dedicated SQL pool database
- 3The linked service was configured for one pool type and then the database was migrated to a different pool tier without updating the linked service
How to fix it
- 1Open the Synapse Analytics linked service in ADF Studio and verify the server endpoint.
- 2For dedicated pool operations (reads and writes from data flows): the endpoint must be <workspace>.sql.azuresynapse.net — not the -ondemand variant.
- 3For serverless pool queries (read-only SELECT queries): use <workspace>-ondemand.sql.azuresynapse.net — but Mapping Data Flow sinks cannot write to serverless pools.
- 4If writing to Synapse from a data flow, confirm the target is a dedicated SQL pool — serverless pools are read-only and do not support writes from data flows.
- 5In Synapse Studio, verify the database appears under SQL pools > Dedicated SQL pools, not under Apache Spark pools.
- 6After correcting the endpoint and database, click 'Test connection' on the linked service and re-run the data flow.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide