The Azure SQL Database source reads tables and views from one Azure SQL database into the Lake. The connection is always encrypted, and you can sign in with a SQL login or a Microsoft Entra service principal. Use this page to fill in each field of the form. The steps shared by every SQL engine are on Connect a SQL database.
Prerequisites
The server name and the name of the database to read.
One way to sign in:
a SQL login with read access to the database, or
a Microsoft Entra app registration with a client secret, that has read access to the database.
The server's firewall accepts connections from DataMind on port 1433.
On the Connection step, click Test connection. The button reads Testing… while it runs.
Connection test passed means DataMind reached the database and signed in. Connection test failed shows the server's message with a copy button; fix the settings and test again.
On Datetime, check the summary: Name, Server, Database, Username or Client ID, and Security, which reads Always encrypted.
The test is optional and never saves the source. To edit or duplicate the source later, see Connect a SQL database.
Questions, answered
Should I sign in with a SQL login or a service principal?
Either works. A SQL login is a user name and password defined on the server. A Microsoft Entra service principal signs in as an app registration with its client ID and client secret, so no personal account is tied to the source.
Where do I find the values for a service principal?
On the app registration in Microsoft Entra: Tenant ID is the Directory (tenant) ID, Client (application) ID is the Application (client) ID, and Client secret is a secret you create on the registration. The app registration also needs read access to the database.
Why is Database required?
An Azure SQL connection is made to one database, so the source reads that database and the schemas inside it. To load another database, add a second source.
My client secret cleared after I changed the Tenant ID. Why?
Your administrator turned on Require re-entering connector secrets after a host change. For this source, Host, the user name or client ID, and Tenant ID count as identity fields, so changing one clears the stored secret. The form shows, for example, "The tenant ID changed. Enter the client secret again.". Type the secret again.
Can I paste the connection string from the Azure portal?
Yes. Paste the ADO.NET string into Paste connection string and click Fill. It fills Host, Port and Database; the password in it is never read, so enter it in the form.
Can I send data back to Azure SQL Database?
No. Azure SQL Database is a source only and is not offered as a Writeback destination. The destinations are listed on Add and manage destinations.