Overview
Azure Entra ID authentication lets Entegrata connect to Azure-hosted SQL data sources without a SQL Server login. Instead of storing a username and password, access is granted to an Azure AD identity — either a managed identity that Entegrata already owns, or a service principal (app registration) that you control. Entegrata supports two Entra-based methods:- Service Principal — an Azure AD app registration authenticates using a client secret or certificate that you enter on the connection. Available to all customers.
- Managed Identity — a managed identity that Entegrata already owns in Azure authenticates on your behalf. Nothing is stored on the connection. Only available for self-hosted instances.
Before You Start
An Azure AD admin on the target SQL Server is required to run theCREATE USER ... FROM EXTERNAL PROVIDER step below. If you’re not that admin, hand this page to whoever is.
Service Principal
Service Principal is the default Entra auth method and is available to all customers. Use it when you need each connection to carry its own identity for auditing, when the target tenant differs from the one hosting Entegrata, or whenever Managed Identity isn’t an option.How It Works
A service principal is an Azure AD app registration with its own credentials (a client secret or certificate). Entegrata uses those credentials to request a token scoped to SQL and presents it to the target server.Setup
Create an Azure AD app registration
Entegrata Collector).After creation, capture the Application (client) ID and Directory (tenant) ID from the app’s Overview page.Generate a client secret or certificate
- Click New client secret, pick an expiration, and copy the secret value immediately (it’s only shown once), or
- Upload a PEM-encoded client certificate.
Create a SQL user for the app registration
Grant the roles Entegrata needs
Enter credentials on the connection form
- Tenant ID (directory ID)
- Client ID (application ID)
- Client Secret or Client Certificate (PEM) — one or the other, not both
Managed Identity
How It Works
Entegrata runs in Azure with a pre-provisioned managed identity. When a connection uses Managed Identity auth, Entegrata requests a token for that identity from Azure at query time and presents it to SQL Server.Setup
Get the managed identity's display name
Create a SQL user for the identity
Grant the roles Entegrata needs
db_datareader for collectors; db_datawriter + db_ddladmin for emitters; VIEW DATABASE STATE for throttling. Use the managed identity’s display name in place of the app registration’s.Select Entra ID on the connection form
Troubleshooting
Login failed for user '<token-identified principal>'
Login failed for user '<token-identified principal>'
CREATE USER ... FROM EXTERNAL PROVIDER step for that identity on the target database.The server does not support Azure Active Directory authentication
The server does not support Azure Active Directory authentication
AADSTS7000215 or AADSTS700016 (service principal cannot sign in)
AADSTS7000215 or AADSTS700016 (service principal cannot sign in)
Permission denied on dynamic management views
Permission denied on dynamic management views
VIEW DATABASE STATE. Entegrata can still collect without it, but automatic throttling is disabled — grant VIEW DATABASE STATE to the identity to fix.