The other day, I was suddenly not able to access my CRM organization.

I was getting “Unhandled exception” message when I browse the Organization URL.

I tried to restart the my application server IIS, but no luck.

When I checked the event viewer for more details, I observed a below Warning message

Unable to connect organization
Unable to connect organization – CrmSecurityException

Exception type: CrmSecurityException

    Exception message: Could not find GUID for : {Machine Name}$ with SearchFilter: samAccountName

The local computer is not joined to a domain or the domain cannot be contacted.

   at System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain()

   at Microsoft.Crm.SecurityUtils.GetGuid(String searchItem, String searchFilter, String searchItemLogInfo, Boolean exceptionIfNotfound)

Reason

  • Domain control (DC Server) machine was not accessible from my machine

Fix

  • We found DC machine was down and restarting the machine solved the problem

🙂

Leave a Reply

Visitors

2,226,988 hits

Top Posts

Discover more from Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

Subscribe now to keep reading and get access to the full archive.

Continue reading