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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Classic Outlook Add-In needs SPN's to be set on service tier account in a three tier environment

(0) ShareShare
ReportReport
Posted on by

Hello,

If you press Test Connection in the classic Outlook Add-In you may receive the following error:

HTTP-Status 401: Unauthorized.

If you look up for an error in the event log file, you will see the following error:

Event ID: 4

Source: Security-Kerberos

The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server xx. The target name used was HTTP/servername.domainname. This indicates that the target server failed to decrypt the ticket provided by the client. 


Resolution: add the following two SPN's on the service tier account via ADIEDIT or via setspn tool:

HTTP/FullyQualifiedDomainNameOfNavWebServiceServer
HTTP/NameOfNavWebServiceServer"

The error itself is discussed here:

https://docs.microsoft.com/en-us/dynamics-nav/troubleshooting--microsoft-office-outlook-integration-and-synchronization 

It will redirect you to the following page:
https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--installing-the-three-tiers-on-three-computers

But the missing SPN is not documented there. CSS created a very old blog posting to list this requirements. 

https://blogs.msdn.microsoft.com/nav/2009/01/16/nav-2009-web-services-on-a-three-machine-setup/

Hopefully with this forum posting, you will be able to setup things without error messages. This is really something that pops up on a regular base within CSS,  this could be two times a year and then everyone needs to lookup that old blog posting again for the correct format!

Thank you. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Marco Mels Profile Picture
    on at

    Answer in blog posting.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans