Configuring an ADF Linked Service Connection for Azure SQL Data Warehouse
Note
For information on how to enable a connection for use with linked services, see Configuring a Linked Service Connection.
[//]: # (TODO List of stages, connection types, and system types that can use Azure SQL Data Warehouse)
After selecting Azure SQL Data Warehouse
from the Linked Service Type dropdown, the form required for creating an Azure SQL Data Warehouse Linked Service will appear.
Required Fields
The required fields are:
- Connect via Integration Runtime
- Connection String (or Azure Key Vault)
- Fully Qualified Domain Name
- Database Name
- Authentication Method
Required for SQL Authentication:
- User Name
- Password (or Azure Key Vault)
Required for Service Principal Authentication:
- Service Principal ID (Application ID)
- Service Principal Key (Application Key) (or Azure Key Vault)
- Tenant (Tenant ID)
Optional fields are:
Connect via Integration Runtime
Connect via Integration Runtime is required for an Azure SQL Data Warehouse Linked Service connection.
The default value is AutoResolveIntegrationRuntime
.
To use a custom runtime, type the name into the editable dropdown or select from the Azure Integration Runtimes saved in BimlFlex settings.
When a custom value is saved in the linked service form, it will be added to the custom integration runtimes.
The custom values that appear in this dropdown can be maintained in Settings under Azure - AzureIntegrationRuntime.
Connection String
A connection to an Azure SQL Data Warehouse linked service requires a connection string. The required properties for the connection string are Fully Qualified Domain Name, Database Name, User Name, and Password. The Linked Service connection form will provide text boxes for these values and will use them to construct the connections string.
Note
It is suggested that Azure Key Vault be used in place of manually entering Connection String details.
Authentication Method
The Azure SQL Data Warehouse Linked Service connection can use SQL Authentication, Managed Identity, or Service Principal. When a key vault is used in place of a Connection String, SQL Authentication details should be stored in the Connection String key vault and will not be required in the BimlFlex form. If Managed Identity is used, no authentication will be required in the BimlFlex Linked Service form. For Service Principal Authentication, Service Principal ID, Tenant, and Service Principal Key are required.
SQL Authentication
User Name and Password will be required by the Linked Service form for SQL Authentication except when using Azure Key Vault in place of a manually entering a Connection String. When using User Name and Password with SQL Authentication they will be included in the Connection String.
Note
It is suggested that Azure Key Vault be used in place of manually entering the Password.
Managed Identity
To use Managed Identities for authentication with Azure SQL Data Warehouse, they must be set up in Azure as described in the Microsoft documentation for Azure SQL Data Warehouse Managed Identities. When using Managed Identities, no other authentication details are required.
Service Principal
To use Service Principal authentication, an Azure Active Directory application must be set up in your Azure portal as described in the Microsoft documentation for SQL Data Warehouse Service Principal Authentication. The Service Principal (Application) ID, Service Principal (Application) Key, and Tenant ID will be required in the SQL Data Warehouse Linked Service form.
Note
It is suggested that Azure Key Vault be used in place of a Service Principal Key.
Additional Connection String Properties
Any additional properties entered here will be included in the Connection String.
These properties should be entered the same way you want them to appear in the connection string and separated by a semicolon, e.g. key=value;secondKey=secondValue
.
Values entered in the Additional Connection String Properties textbox will be maintained when changing linked service types. If a required property from one service type does not have a corresponding text box in the newly selected linked service type, it will appear as an additional property.
Azure Data Factory Linked Service Additional Information
For additional information on ADF SQL Data Warehouse Linked Service and its connection requirements see the Azure Data Factory SQL Data Warehouse Connector documentation.