AuthScheme
The scheme used for authentication. Accepted entries are Password, AzureAD, AzureServicePrincipal, AzureServicePrincipalCert, AzureMSI, AzurePassword.
Possible Values
AzureAD, AzureMSI, AzureServicePrincipal, AzureServicePrincipalCert, Password, AzurePasswordData Type
string
Default Value
"Password"
Remarks
- AzureAD: Perform Azure Active Directory (user-based) OAuth authentication.
- AzureMSI: Automatically obtain Azure AD Managed Service Identity credentials when running on an Azure VM.
- AzureServicePrincipal: Authenticate as an Azure Service Principal (role-based, application-based) using a Client Secret.
- AzureServicePrincipalCert: Authenticate as an Azure Service Principal (role-based, application-based) using a Certificate.
For information about creating a custom application to authenticate with Azure AD, see Creating an Azure AD Application.
For information about creating a custom application to authenticate with Azure AD Service Principal, see Creating an Azure AD App with Service Principal.
Together with Password and User, this field is used to authenticate against the server. Password is the default option. Use the following options to select your authentication scheme:
- Password: Set this to use your SQL Server Password.
- AzureAD: Set this to use Azure Active Directory OAuth authentication.
- AzureServicePrincipal: Set this to authenticate as an Azure Service Principal.
- AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a certificate.
- AzureMSI: Set this to use Azure Active Directory Managed Service Identity authentication.
- AzurePassword: Set this to use Azure Active Directory Password authentication.