AuthScheme Parameter (Connect-DynamicsCRM Cmdlet)
The authentication scheme used. Accepted entries are OAuth,NTLM,Kerberos,AzureServicePrincipal,AzureServicePrincipalCert.
Syntax
Connect-DynamicsCRM -AuthScheme string
Possible Values
OAuth, AzureAD, AzureServicePrincipal, AzureServicePrincipalCert, NTLM, KerberosData Type
cstr
Default Value
"NTLM"
Remarks
Together with Password and User, this field is used to authenticate against an on-premises Dynamics CRM 4.0 server. This property will not be used for other versions of CRM. NTLM is the default option. Use the following options to select your authentication scheme:
- OAuth: Deprecated. Use AzureAD instead.
- AzureAD: Set this to perform 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.
- NTLM: Set this to use the SPNEGO over NTLM authentication on CRM On-Premise deployment.
- Kerberos: Set this to use the SPNEGO over Kerberos authentication on CRM On-Premise deployment.