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

I have the same question (0)
  • 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

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans