Skip to main content
This page sets up an Azure Synapse Analytics connection to a dedicated SQL pool that signs in with a SQL login and password. Datafold reads the schemas you grant it and writes scratch tables to a schema you create for it.

Before you begin

  • A Synapse admin login that can create logins, users and schemas and grant permissions.
  • Your Synapse SQL endpoint, for example <WORKSPACE>.sql.azuresynapse.net.
  • Permission to add data connections in Datafold.
The examples use datafold_user. You can choose another name. Replace <PASSWORD> and <SCHEMA> with your values.

Set up Azure Synapse

1

Create a login and user

On a dedicated SQL pool, you create the login in the master database and the user in your pool’s database.Run this on the master database:
Run this on your dedicated SQL pool (the database you want to connect to):
2

Grant access to your data

Run this grant on your dedicated SQL pool for each schema in scope:
3

Create a temporary schema

Datafold writes scratch tables and views to this schema so that data processing stays in your warehouse. Run this on your dedicated SQL pool:

Network access

If your Synapse workspace only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.

Add the connection in Datafold

Go to Settings → Integrations → Data Connections, click Add new integration and choose Microsoft Azure Synapse. Click Save.