web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Microsoft Dynamics NAV - Error

(0) ShareShare
ReportReport
Posted on by 5

I am having this error: The Service Principal Name (delegation) configuration has been set incorrectly. The certificate CN=NavServiceCert chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain could not be built to a trusted root authority. Error occurs when I try to open it from a client. Can you please help me what exactly I should do?

Thanks a lotWhatsApp-Image-2022_2D00_05_2D00_23-at-1.35.16-PM.jpeg

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    92,292 Super User 2025 Season 2 on at
    RE: Microsoft Dynamics NAV - Error

    Hi, Sorry I don't currently have an environment to test with, just adding Marco's reply.

    http://navhelp.modst.dk/help/da-dk/tskConfigureDelegationForNAVWebClient.htm

    Some additional info:

    https://stackoverflow.com/questions/50149611/the-service-principal-name-delegation-configuration-has-been-set-incorrectly

       

    https://microsoft-dynamicsnav.blogspot.com/2018/05/dynamics-nav-error-service-principal.html?m=1

    Hope this also help.

    Thanks.

    ZHU

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Microsoft Dynamics NAV - Error

    Hello,

    Best is to use a SSL cert that was created via New-SelfSignedCertificate PowerShell command prompt if it must be a self signed cert. You also need to do the following when the initial error happens that you described in your post:

    Go to IIS, open Application Pools, select the correct Web Client Application Pool, open Advanced Settings. Find Process Model / Load User Profile and make sure it is False (default is True).

    Perform an IISRESET for the changes to take into effect.

    Hope this helps as well. 

    Thanks.

  • Integrated Tech Solutions Profile Picture
    5 on at
    RE: Microsoft Dynamics NAV - Error

    Hello,

    Thank you for your answer. 

    I have installed NAV18 as Windows Credentials. Then, I have created a Super User. I turned the credentials as NAVUserPass with the self -generation of cert. With the user created, it works. When I try to open it from another PC that is Client, it occurs the error attached yesterday.

    Can you help me further please? You were a huge help! :)

  • Suggested answer
    YUN ZHU Profile Picture
    92,292 Super User 2025 Season 2 on at
    RE: Microsoft Dynamics NAV - Error

    Hi, I have a simple example of creating a certificate and hope to give you some hints.

    https://yzhums.com/5367/#toc5

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,220

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,958

#3
Sumit Singh Profile Picture

Sumit Singh 2,961

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans