Skip to content

Synapse Synapse Authentication

Qualytics signs in to Azure Synapse Analytics with the identity set in the Authentication section of the connection form. Every query runs as that identity, so Synapse uses its permissions to decide what Qualytics may read or write (see Permissions). The Type field selects the method.

Authentication Types

Qualytics supports two authentication types for Synapse:

Authentication Type Credentials When to use
Username & Password (default) SQL login and password Workspaces that allow SQL authentication
Service Principal Microsoft Entra ID application: Client ID, Client Secret, and Tenant ID Service accounts managed in Microsoft Entra ID, or workspaces where SQL authentication is disabled ("Microsoft Entra authentication only")

Note

Service principals authenticate with the client credentials flow, so multi-factor authentication and conditional access policies that apply to interactive users do not affect them. This makes Service Principal the recommended option for unattended access.

To create the Microsoft Entra ID application, its client secret, and its database user, see Set Up a Service Principal. In the API, Username & Password is BASIC and Service Principal is SERVICE_PRINCIPAL.

Warning

Client secrets expire on the date chosen when they are created. When the secret expires, the connection fails until you create a new secret and update the connection.

Credentials from a secrets manager

Any credential field can take its value from HashiCorp Vault or another secrets manager instead of being typed in: turn on Secrets Management on the connection and write ${key} in the field. See the HashiCorp Vault pages for setup and troubleshooting.