Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Trust relationship between the primary domain and the trusted domain failed

(0) ShareShare
ReportReport
Posted on by

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
    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
    on at
    RE: Trust relationship between the primary domain and the trusted domain failed

    This worked for me, thanks

  • Suggested answer
    MBrodie1979 Profile Picture
    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
    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
    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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans