CRM 2011 Add Multiple Users Error

I've been having an issue when trying to add multiple users on the CRM 2011 release candidate. I could add individual users fine, but the multiple users wizard showed the below error after selecting the license type and authentication provider.

Ldaperror

I looked in the event viewer and saw this message



Exception information: 
    Exception type: ActiveDirectoryObjectNotFoundException 
    Exception message: The specified domain does not exist 
    or cannot be contacted.

I could add users fine individually, so my domain could definitely be contacted, so why was this error only occuring when trying to load multiple users? I turned on tracing, which displayed this:



Process: w3wp |Organization:38fbda44-2715-e011-8b1e-00151d004a11 |
Thread: 4 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |
Level: Error | SystemLabelDictionaryCacheLoader.LogDetails


Read the rest of this post »

Changing an Active Directory username in CRM

Add_user_error

One of our users had complained that their name was spelled incorrectly. I made the changes in AD, Exchange and in her CRM user account, but when I tried to change her domain login name in CRM, I received the error 'You are attempting to create a user with a domain logon that is already used by another user...'

To get around it, I made the change directly in the organisation database. The domain login name is stored in the 'DomainName' column of the 'SystemUserBase' table, so I just edited the data within SQL management studio.

FYI - Although I do this, I don’t recommend making any changes to the CRM databases directly. A safer workaround is posted here