skip to main content
Configuring and connecting to data sources : Authentication : NTLM authentication
  

Try DataDirect Drivers Now

NTLM authentication

NTLM authentication can be used to authenticate with Dynamics 365.
To configure the driver to use NTLM:
*Set the Service URL (ServiceURL) option to the base URL of the Dynamics 365 instance to which you want to issue requests. For example, http://myonpreminstance.sso3.dynamics365.net/api/data/v9.1/.
*Set the Authentication Method (AuthenticationMethod) option to 6 (NTLM).
*Set the NTLM Domain (NTLMDomain) option to specify the NTLM domain.
*Set the User (User) option to specify the name of the user connecting to the service.
*Set the Password (Password) option to specify the password for the user connecting to the service.
Note: The User and Password properties are not required to be stored in the connection string. They can also be sent separately by the application.
The following examples show the connection information required to establish a session using NTLM.
Connection string
DRIVER=DataDirect 8.0 Microsoft Dynamics 365;ServiceURL=http://myonpreminstance.sso3.dynamics365.net/api/data/v9.1;
AuthenticationMethod=6;NTLMDomain=sso3;User=jsmith;Password=secret;
odbc.ini
[Microsoft Dynamics 365]
Driver=ODBCHOME/lib/ivdynamics36528.so
...
Description=DataDirect 8.0 MS Dynamics 365
...
AuthenticationMethod=6
...
NTLMDomain=sso3
...