Integrating with Azure SQL Server
Drivetrain connects to your Azure SQL database directly using TLS, with a database user you create for Drivetrain. This guide covers the detailed steps for the integration process.
Azure SQL Server Guide Authentication Enable Access Create User Grant User Permissions Connect in Drivetrain
Prerequisites
To connect Azure SQL Server to Drivetrain, you need:
Admin access in Drivetrain
SQL Server version 2012 or above
An Azure account with a DB Owner, SQL Server Contributor, or SQL Security Manager role
ALTER ANY USER permissions in your database server
Your server name, for example
yourserver.database.windows.net. Use the name, not an IP address: Drivetrain checks that the server's TLS certificate matches the name you enter.Your database's port (usually
1433)
Azure SQL Server Guide
Step 1: Authentication
Drivetrain authenticates with a SQL username and password. You'll create this user in Step 3.
If your database only accepts Microsoft Entra ID sign-in, Drivetrain can connect with an Entra ID service principal (client ID, client secret and tenant ID) instead. Ask your customer success manager to set this up.
Step 2: Enable Access
Log in to the Azure console.
On the Azure main page, select SQL databases.
Click on the SQL database that you want to connect to Drivetrain.

On the database overview page, find the server name and make a note of it in a secure document.

Click Set server firewall. This opens the server's Networking page.
Set Public network access to Selected networks, then add a new firewall rule with a name as “Drivetrain Integration”. Allow Drivetrain's IP addresses, which your customer success manager can share with you. Click on Save

Step 3: Create User
Create a database user for Drivetrain's exclusive use.
Open a connection to your Azure SQL database.
Add a container database user for Drivetrain by running the following command. Replace <
database> with the name of your database, <username> with the username of your choice, and <password> with a password of your choice:
Step 4: Grant User Permissions
Once you have created user for Drivetrain, grant it SELECT permissions for the database, schemas, tables or specific columns you want to sync. Below are sample snippets for every type of access:
To sync views, grant
SELECTon them the same way. Drivetrain lists both tables and views.
Step 5: Connect in Drivetrain
What syncs
Each sync reads the selected tables and views in full and replaces the copy in Drivetrain. You don't need to turn on change tracking. For large tables, Drivetrain can instead re-read only recent rows, based on a date column. Ask your customer success manager.
To change the password later, contact Drivetrain support.
Last updated
Was this helpful?
