Azure SQL Database
Agile Data Engine supports:
Azure SQL Database
Microsoft SQL Server (on-prem with VPN)
Required connection details
The following details are required per target instance configuration:
Detail | Example | Description |
---|---|---|
Host |
| Fully qualified host name of the Azure SQL Server. |
Database name |
| Name of the database within the Azure SQL Server. |
Default schema |
| Default schema context for the user. |
Port |
| Default port for Azure SQL Database. |
Username* |
| Login name in the format: |
Password |
| Password for the login user. Securely stored and managed. |
*Microsoft Entra authentication currently not supported.
Configuration
Set up a separate Azure SQL Database for each Agile Data Engine Runtime. Within the databases, you need to set up the following objects:
LOGIN (master database)
MASTER KEY
ROLE
USER
EXTERNAL DATA SOURCE (optional)
Repeat below steps in each environment. Feel free to name objects according to your naming conventions.
Execute step 1 in the SQL server master database.
Execute steps 2-5 in the target database.
1. Create a login
CREATE LOGIN ADE_LOGIN WITH PASSWORD = '***';
Generate strong environment specific passwords and store them securely.
2. Create a master key
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '***';
Refer to Microsoft documentation for more information about the master key.
3. Create a role
CREATE ROLE ADE_ROLE;
4. Grant permissions to the role
GRANT CONTROL ON DATABASE::[clouddw_dev] TO ADE_ROLE;
GRANT ALTER ANY SCHEMA TO ADE_ROLE;
GRANT CREATE TABLE TO ADE_ROLE;
GRANT CREATE VIEW TO ADE_ROLE;
Replace clouddw_dev
with the target database name.
5. Create a user for the login
CREATE USER [ADE_USER] FOR LOGIN [ADE_LOGIN] WITH DEFAULT_SCHEMA = dbo;
Assign the role to the user:
EXEC sp_addrolemember 'ADE_ROLE', 'ADE_USER';
6. (Optional) Create an external data source
For loading source data into Azure SQL database, create an external data source by following the Microsoft documentation. For more information, please refer to Loading Source Data.
7. Configure firewall rules
It is strongly recommended to configure firewall rules that allow access only from known and trusted IP addresses. Agile Data Engine uses a tenant-specific outbound IP address, which you can request via the ADE Support Portal.
For guidance on setting up firewall rules, refer to the official Microsoft documentation.
If your organization requires private connectivity, see Private Connectivity and VPN.