Network of MS Dynamics D365, AX, NAV, GP, SL, CRM, RMS, POS professionals › Forums › Reply To: What are the different Credential Types and How to configure them in NAV?
< ![CDATA[Hi Ali,
Microsoft Dynamics NAV 2013 onwards there are no “Database Logins” supported. It means, no need to create all the users in the SQL database because the user authentication is not on SQL server level, but on the NAV server level. When you create a new user, you provide different information depending on the credential type that you are using in the current Microsoft Dynamics NAV Server instance. But all users of a Microsoft Dynamics NAV Server instance must be using the same credential type. You specify which credential type is used for a particular NAV Server instance in the Microsoft Dynamics NAV Server Administration tool.
Microsoft Dynamics NAV 2013/2015 supports four credential authorization mechanisms:
You can create users of different credential types under Administration/IT Administration/General/Users. As shown below how to create it.
With Windows, credential type users are authenticated using their windows credentials. That means before you create a Windows user in the Role Tailored client, there must already be a corresponding user in Windows. So UserName and NavUserPassword credential types are prompted for User ID/Password when they start the Role Tailored Client.
Configuring the Credential Type
To configure the credential type
1. Edit the client configuration file for each relevant user.
A separate instance of the ClientUserSettings.config the file is maintained for each Microsoft Dynamics NAV Windows client user. You must modify the configuration for each instance of the file. The default location for this file is C:\Users\\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\80, where is the name of the user.
a) Find the ClientServicesCredentialType parameter and change the value to one of the options listed earlier.
b) Find the DnsIdentity parameter and change the value as “NavServiceCert”. It’s not necessary for the credential types other than UserName and NavUserPassword.
c) Save ClientUserSettings.config and restart the Microsoft Dynamics NAV Windows client.
2. Edit the configuration for the Microsoft Dynamics NAV Server instance.
Use either the Microsoft Dynamics NAV Server Administration tool or the Microsoft Dynamics NAV PowerShell API. Here NAV Server Administration tool is used as shown below.
a) Find the Credential Type parameter in the configuration for the instance and change the value to one of the options listed.
b) Enter the Certificate’s private key in the field of Certificate Thumbprint parameter. Leave this parameter as blank for the credential types other than UserName and NavUserPassword.
c) Restart the Microsoft Dynamics NAV Server instance. Use either the Microsoft Dynamics NAV Server Administration tool, the Microsoft Dynamics NAV PowerShell API, or the Services
tool in the Windows Control Panel.]]>