Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Trust relationship between the primary domain and the trusted domain failed

Posted on by Microsoft Employee

We have a trust in place between two domains.

The physical link between the two domains was severed, but the trust relationship was left in place.

Now when I access the "users" page in the administration tab, I receive the above error.  

Trust relationship between the primary domain and the trusted domain failed

We are using Microsoft Dynamics NAV 2015

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    We had the same problem, upon troubleshooting found something interesting.

    look in eventlogs--> system --> from source will be netlog error type.

    would contain info something like this.

    This computer was not able to set up a secure session with a domain controller in domain XXXXXdue to the following:

    this usually happens when your application server has connectivity issue with DNS server. when you make DNS join issue will be resolved.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    This worked for me, thanks

  • Suggested answer
    MBrodie1979 Profile Picture
    MBrodie1979 20 on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    Hi John

    I solved this by adding a filter to the user list page 9800 OnOpenPage trigger:

    If the users causing trouble were name like so:

    UNWANTEDDOMAIN\Bob

    UNWANTEDDOMAIN\Ralph

    Add code as below:

    SETFILTER("UserName",'<>*UNWANTEDDOMAIN*');

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    Hi,

    you need to delete the required user from user table and add it again.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    I am seeing a similar error. NAV 2013. When going into the IT Administration, General, Users tab. Steps that have been tried:

    Rejoined server to domain, added the user logging in with Enterprise admin rights and restarted services. No luck. Is there a log for NAV that will explain or any thoughts on next steps? Thank you.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    I found a fix.  I had to open the database, and expand the table: Users,  (not in any company, below all the companies)  delete ALL records to the old domain so that it doesn't get referenced.  Would be curious if the conditional forwarder were deleted if that would serve as well.    Then restart the NAV service tier and proceed.   User setup is a different table that doesn't have SID's referenced so that is no worry.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans