Fruscus on Wed, 13 Apr 2011 12:00:21
We have 2 organizations on a CRM server. I was able to create a CRM user record in one of the organizations, however, when I try to create the same user in the other organization, I get "You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again."
The CRM trace log shows in method "SecurityUtils.GetGuidFromSid", "Unable to find Active Directory object for SID, ErrorCode: -2147214038" and "System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password." According to the trace log, the correct SID was returned. In addition, this is only happening when I try to create user records for a certain group of AD users. I am able to create others in both organizations without issue.
Any help would be greatly appreciated. Thanks!
Cornel Croitoriu on Thu, 14 Apr 2011 07:04:18
Try this solution: Start > Run > regedit > expand to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM node and look for AutoGroupManagementOff key. Set it's value to 1, instead of 0 and perform an iisreset. I remember I had a very similar problem with AD and some users and this did the trick for me. Hope it helps.
Cornel Croitoriu - Senior Software Developer & Entrepreneur
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"
MDodd73 on Wed, 06 Jul 2011 15:14:52
Thanks for the info. I have run into this issue at my client as well when a.) The user is being added to a 2nd tenant and b.) the user is in a different AD domain than the CRM server.
Failed finding AD GUID From SID for the given domain [User's Domain]. Exception: System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException: The specified domain either does not exist or could not be contacted.
Can you provide any more details on what this AutoGroupManagementOff Key controls? Security at my client is tight, and we have to issue an official Change Request to push it through. Any details would be helpful to expedite the request.
Satish.Kandukuri on Fri, 24 Jul 2015 07:51:49
Awesome it resolved my issue.
Vaman Salkar on Tue, 28 Jul 2015 23:49:07
Awesome.. This resolved my issue I was facing with CRM 2015 as well.. Thanks :)
AnuragGawande on Mon, 27 Mar 2017 14:25:30
Thanks a lot. This resolved my issue. :)