26Nov

What are the different Credential Types and How to configure them in NAV 2013 / 2015?

Microsoft Dynamics NAV 2013 onwards there are no “Database Logins” supported. It means, no need to create all the users in SQL database, because the user authentication is not on SQL server level, but on NAV server level. When you create a new user, you provide different information depending on the credential type that you are using in 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.

Credential Types:

Microsoft Dynamics NAV 2013/2015 supports four credential authorization mechanisms:

  • Windows
  • UserName
  • NavUserPassword
  • AccessControlService

You can create users of different credential types under Administration/IT Administration/General/Users. As shown below how to create it.

Pic1

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 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.

  • Find the ClientServicesCredentialType parameter and change the value to one of the options listed earlier.
  • Find the DnsIdentity parameter and change the value as “NavServiceCert”. It’s not necessary for the credential types other than UserName and NavUserPassword.
  • Save ClientUserSettings.config and restart the Microsoft Dynamics NAV Windows client.

pic2

 

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.

pic3

  • Find the Credential Type parameter in the configuration for the instance and change the value to one of the options listed.
  • 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.
  • 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 Windows Control Panel.

 

Note: Follow below mentioned link to create and install Security Certificates for the Microsoft Dynamics NAV Server service.

http://msdn.microsoft.com/en-us/library/gg502478.aspx

If you wish to discuss further on this topic, please feel free to drop me an email to jithin.mathew@ecanarys.com

Related

NAV – Connecting Microsoft Dynamics CRM customized entities

This blog is intended to see how Microsoft Dynamics NAV (here onwards NAV) can be connected to exter...

Read More >

NAV – Connecting External SQL

This blog is intended to see how Microsoft Dynamics NAV (here onwards NAV) can be connected to exter...

Read More >

How to Prevent Users from Moving Task to Closed State with a non-Zero value Remaining Work field in VSTS/TFS

In this Blog I am going to explain how we can customize Task in VSTS/TFS to Prevent Users from Movin...

Read More >

Canarys Automations Pvt Ltd recognized as finalist for 2017 Microsoft DevOps Partner of the Year Award

  Bengaluru, Karnataka, India — June 2, 2017 — Canarys Automations Pvt Ltd tod...

Read More >

Azure Blob Storage: The PowerShell Way!

Hi folks!Great to see you again.This blog post is purely based on Azure Blob Storage: The PowerShell...

Read More >

What's New in Microsoft Dynamics NAV 2017

We were hearing about Dynamics NAV 2017 since long time that it will be releasing by the end of 2016...

Read More >

Create a Windows Server 2012 R2 VM using ARM in Azure PowerShell

Hi Folks,In this Blog Post we will learn how to create an Azure ARM Virtual Machine using Azure Powe...

Read More >

Continuous Integration/ Continuous Deployment VSTS

Following the below steps you can build and deploy your ASP.NET  app to Azure from either Visua...

Read More >

How to Sync On-premise AD with Windows Azure AD using Azure AD Connect tool

 Azure AD is a service that provides identity and access management capabilities in the cloud. ...

Read More >

Creating a Point-to-Site Connectivity using Azure Resource Manager

Configure a Point-to-Site connectivity to a VNet using PowerShell (ARM Mode)Task 1: Create a Self-Si...

Read More >

Share

Post a Comment

  • Recent
  • Popular
  • Tag
Tags
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *