Using the Azure Synapse Analytics Connector in Fabric Data Factory - A Practical Guide
A lot of Australian organisations made a big bet on Azure Synapse Analytics between 2020 and 2023. Banks, insurers, state government agencies and plenty of mid-sized companies built dedicated SQL pools, loaded years of history into them, and pointed Power BI at the result. Then Microsoft Fabric arrived and the strategic direction shifted.
Those Synapse warehouses haven't gone anywhere, though. They're still running, still being paid for, and still feeding reports people rely on every day. So the practical question for most of our clients isn't "should we move to Fabric?" It's "how do we get data in and out of Synapse from Fabric while we work out the rest?"
That's what the Azure Synapse Analytics connector in Fabric Data Factory is for. It's not exciting. It is, in my experience, one of the connectors you'll lean on most during a migration.
What the connector supports
The connector lets Fabric Data Factory talk to an Azure Synapse Analytics dedicated SQL pool. Microsoft's Azure Synapse Analytics connector overview lists the supported capabilities and is the source of truth if anything below changes. In broad terms:
- Dataflow Gen2 can use Synapse as a source, so you can pull tables or queries into a Power Query based transformation and land the output in a Lakehouse or Warehouse.
- Pipelines can use Synapse in the Copy activity as both a source and a destination, and in the Lookup activity to read small result sets for control flow.
- Several authentication options are available, including basic (SQL) authentication, organisational account and service principal, depending on the experience you're in.
- Gateways come into play when the Synapse workspace isn't publicly reachable. If your workspace is locked behind private endpoints (and in most regulated organisations it should be), you'll need an on-premises data gateway or a virtual network data gateway.
It's worth being clear on what this connector is not. It's for dedicated SQL pools, which is where most organisations' Synapse warehouse data lives. If you're dealing with serverless SQL pools, Spark pools or Synapse pipelines themselves, those are different conversations.
Setting up a connection
The flow in a Fabric pipeline is straightforward:
- In your workspace, create or open a data pipeline.
- Add a Copy data activity.
- On the Source tab, choose Azure Synapse Analytics as the connection type and create a new connection.
- Enter the server name (the
yourworkspace.sql.azuresynapse.netendpoint, or the older.database.windows.netone for standalone dedicated pools) and the database name. - Pick your authentication method and supply credentials.
- Choose a table, or write a query.
For Dataflow Gen2, you start from Get data, search for Azure Synapse Analytics, and enter the same server and database details.
That part takes five minutes. The things that actually take time are below.
What we've learned using it
Networking is where the hours go
Nine times out of ten, when a client tells us "the Synapse connector doesn't work", it's networking. The Synapse workspace has public access disabled, sits behind a private endpoint, and Fabric can't reach it.
Your options are a virtual network data gateway (managed by Microsoft, sits in your VNet, needs a delegated subnet) or an on-premises data gateway on a VM that can see the private endpoint. The virtual network gateway is the cleaner option where it's supported for the experience you're using. Check the current support matrix for pipelines versus Dataflow Gen2, because they haven't always matched.
Get the networking design agreed with your infrastructure and security teams early. If you leave it until the week before go-live, you'll be waiting on firewall change requests while the project slips.
Use service principals, not personal accounts
We see a lot of first-cut pipelines built with the developer's own organisational account. They work fine until that person goes on leave, changes their password or leaves the company. Then the overnight load fails and nobody knows why.
Use a service principal with exactly the permissions the pipeline needs on the Synapse database. Store the secret properly. It's a bit more setup and it saves a 2am phone call.
Writing into Synapse needs staging thought
When Synapse is the destination of a Copy activity, bulk loads perform best when the data goes through a staging area and lands with Synapse's COPY statement, rather than row-by-row inserts. If you load a few hundred million rows without thinking about this, you'll find out very quickly.
That said, during a Fabric migration, writing into Synapse should be the exception. Most of the traffic should be going the other way.
Don't forget the pool might be paused
Dedicated SQL pools can be paused to save money, and many of our clients pause them overnight or on weekends. A Fabric pipeline that tries to read from a paused pool fails. Either schedule around the pause window or add a step at the start of the pipeline that resumes the pool (via the REST API or an Azure Automation runbook) and waits for it to come online.
Mind the DWU limits
A dedicated SQL pool has a fixed number of concurrent queries and memory per query depending on its DWU setting. If you point ten parallel Copy activities at a DW200c pool while the same pool is serving Power BI DirectQuery, everybody slows down. We had a client whose finance dashboards went sluggish every morning, and the cause was a Fabric extract job running in parallel with business hours. Moving the extract to 4am fixed it.
Where it fits in a migration
Here's the pattern we use with clients moving off Synapse, and the connector is central to it.
Phase one: read from Synapse into OneLake. Use pipelines with the Synapse connector to copy curated tables into a Fabric Lakehouse or Warehouse. Keep Synapse as the system of record. Build new reports against the Fabric copy and compare numbers.
Phase two: move the loads upstream. Once the Fabric copy is trusted, repoint the source system loads to land directly in Fabric, skipping Synapse. The connector stays in place for anything not yet moved.
Phase three: switch off. When nothing reads from Synapse anymore, decommission it. The connector goes with it.
The reason this works is that you're never doing a big-bang cutover. At each point, Synapse and Fabric run side by side, and the connector is the bridge. We've written in more detail about a phased approach to Fabric migration from Synapse if you want the longer version.
One honest caveat: running both for a while costs money. You're paying for a Synapse pool and Fabric capacity at the same time. Plan for that overlap in the budget and set a real end date, otherwise "temporary" turns into two years.
Is it any good?
It does what it should. Copy performance from a reasonably sized dedicated pool into a Lakehouse is good, the setup is simple, and it behaves the way you'd expect if you've used the Synapse connector in Azure Data Factory before.
My complaints are mostly about the surrounding experience rather than the connector itself. Error messages for networking failures are still vague. Gateway configuration is more fiddly than it should be. And the gap between what's supported in pipelines and what's supported in Dataflow Gen2 occasionally catches people out.
None of those are reasons not to use it. They're reasons to plan the networking and authentication properly before you start.
If you're working through a Synapse to Fabric move and want people who've done it before, our Microsoft Data Factory consultants and Microsoft Fabric consultants can help with the architecture, the pipelines and the cutover plan. Or get in touch and we'll talk through where you're at.