Friday, February 19, 2010

No Microsoft Dynamics CRM user exists with the specified domain name and user ID

From time to time you may receive this error for one of the following reasons:

1. You need to add CRM URL to your Trusted Sites:

Go to "Tools > Internet Options > Security Tab"

Select "Trusted Sites" icon then click on "Sites" button and make sure that the CRM URL exists in that list. If not, add it to that list.

2. IIS does not authenticate you as the user that you think it should be authenticating you as.

This one can happen if for example one of your co-workers uses your machine and tries to access the CRM entering their domain login information, then later on their access to CRM is revoked, yet Internet Explorer has already cached their credentials and is trying to use it when you are logged in. The problem is that IIS does not show what Active Directory User it is trying to authenticate you as if you have the option checked to automatically verify your credentials on each visit. The quickest way to fix this is to:

Do everything in item 1 above.

With "Trusted Sites" icon selected, click on "Custom Level" button.

Scroll all the way down to the "User Authentication" section, then check "Prompt for user name and password", clicking on OK.

Click "OK" again to save settings and exit.

Close Internet Explorer and Re-open, clearing all cache.

Now when you visit the CRM URL, you are prompted for your domain login criteria, which should resolve any conflicts.

3. The Active Directory domain user you are logged in as does not have a CRM Account created for it.

Simply log in as the CRM Administrator, go under "Settings > Administration > User" and add the user to CRM.

Hi SimonGood summary, however the steps are not working as you might expect for one of our users hoping you could shed light on it? Essentially, he gets this error message all the time. The only way round it is for him to click "try again" and at that point presents credential login so he can login using the correct domain\username. Yet, for everyone else, they are always prompted to provide credentials when visiting the CRM application. This behaviour happens across both IE and Chrome for that user. Any thoughts on where else to look?

This is definitely a user browser related issue. Compare the browser setting of the user's machine who is having issues with another users browser settings that is able to get in fine, and make sure under security and authentication all the settings match. Also, make sure to use Internet Explorer.

Thanks Pete, the weird thing is that the following day all was working fine without any changes in both IE and Chrome for that user. I should have mentioned the user was a new starter so is settings were identical to everyone else (we have strong group policy settings) applied to all machines on network. Cheers

I would like to know if it is really mandatory to pay a "CAL" for users who are present in AD (domain-users) ?About 40 users should have access to CRM (financial service, marketing service, sales service, Etc.).

I am completly lost and I think this CAL way is a "financial ruin" so maybe I didn't correctly understand.. Hope so.

One of the most useful and often overlooked features of ASP.NET MVC 3 and 4 is the ability to create and use Simple Data Grids. Unlike prior...

About

Pete Soheil is the Creator and Owner of DigiOz Multimedia, a Chicago-IL based company that specializes in the creation of Windows, Web and Mobile Application Development in a variety of Programming Languages, including C#, VB.NET, ASP.NET, ASP, VC++, GCC, PHP and Perl.