Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Just tried to switch our Dynamics CRM 2016 (8.1) install from AD to ADFS + IFD, and now - somehow - I am the only user who can log in.
All other users receive the error message:
No Microsoft Dynamics CRM user exists with the specified domain name and user ID
A Microsoft Dynamics CRM user record does not exist with the specified domain name and user ID.
In the server event log, I see:
Exception type: CrmException
Exception message: No Microsoft Dynamics CRM user exists with the specified domain name and user ID
at Microsoft.Crm.Authentication.Claims.AuthenticationProvider.GetOrganizationId(ClaimsPrincipal principal)
at Microsoft.Crm.Authentication.Claims.AuthenticationProvider.Authenticate(HttpApplication application)
at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request URL: https://crm.myorg.net:443/default.aspx
Request path: /default.aspx
User host address: 192.168.0.100
Is authenticated: True
Authentication Type: Federation
Thread account name: MYORG\CRMServiceAcct
And yet somehow, I am able to log in fine with my own account. Both accessing CRM internally and externally, in fact. So ADFS is clearly configured somewhat correctly.
The only lead I have so far is that in the [MSCRM_CONFIG].[SystemUserAuthentication] table, my user has an entry with AuthInfo = C:<my-email-address> whereas all the other records for the other users have AuthInfo = W:<SID>.
I have tried re-creating some users in CRM by entering their AD DOMAIN\User and CRM creates the user just fine, but again after authenticating with ADFS (using the forms authentication), they are redirected to CRM and immediately presented with the "No Microsoft Dynamics CRM user exists with the specified domain name and user ID" error.
Please, if you have any suggestions I would love to hear them. I am at a complete loss here.
Hope you are well.
Such scenarios are difficult to troubleshoot via this channel as the presented message can be caused by dozens of different issues and may require a full setup review.
If this is a blocker, please open a ticket with us and we will be happy to help.
Please be aware also that 8.1 is no longer a supported version since august last year and you should ideally update to 8.2 high builds to maintain supportability within our support channels:
Trying to understand what could be causing the issue:
- If you can login using your account, it should mean that your relying party trust claims are correctly configured. But we would double check as to avoid ADFS returning a bad response to CRM causing the issue
- when you add a user to CRM, if you haven't authenticated yet once with that user, the systemuserauthentication table will only show the SID for that user. Only when you login with the user for the first time, it will add a new row towards the same userID but with the C:email entry. I would use that failed user USERID GUID to look if he was correctly added to MSCRMconfig. SystemUserOrganization and DB_MSCRM.systemuserBase
- As you can login with your account it shouldn't be a problem on
- Can you also tell us if you have AutoGroupManagementOff = 1 on your CRM server registry? HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\
- I would focus on troubleshooting a new created user and then try to understand the rest of the users.
Any other info you can provide, let us know.
Business Applications communities