Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

No Microsoft Dynamics 365 user exists

(0) ShareShare
ReportReport
Posted on by

I've searched the Dynamics CRM community for guidance on this issue we are having, but can't seem to find an answer that works. We're trying to replicate our live CRM installation for testing.

Quick sum up of what we've done: created a new VM running Server 2012, installed SQL server with all Windows updates. Installed Dynamics 365 on-prem. Backed up the live SQL database via SSMS and copied the backup file across to the new server. Removed the organization created by Dynamics, and restored the copied SQL database via SSMS, then used the import org wizard from Deployment Manager. User mapping all good. Then setup Claims based auth and IFD and added to our ADFS server. But when a user attempts to log in, they get the "No Microsoft Dynamics 365 user exists with the specified domain name and user ID". 

The event viewer logs 1309 (Source: ASP.NET 4.0.30319.0) - relevant detail line states: No Microsoft Dynamics 365 user exists with the specified domain name and user ID at Microsoft.Crm.Authentication.Claims.AuthenticationProvider.GetOrganizationId(ClaimsPrincipal principal, HttpContext context).

I've checked the org ID, domain name, ActiveDirectoryGuid in SQL - which all appears OK.

Any help would be appreciated.

Al

*This post is locked for comments

  • reshmap Profile Picture
    95 on at
    RE: No Microsoft Dynamics 365 user exists

    Hello,

    I am running into the same issue. Is there a fix for this?

    TIA

  • Community Member Profile Picture
    on at
    RE: No Microsoft Dynamics 365 user exists

    Hi Leo,

    The domain administrator receives the same message. If I disable claims based auth and IFD, I can log directly into the CRM box - so would appear the CRM/domain accounts are linked. Is this more of an ADFS issue?

    Thanks,

    Allan

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: No Microsoft Dynamics 365 user exists

    Hi Allan,

    Can you use Administrator to login Dynamics CRM?

    Please refer to the following links.

    https://community.dynamics.com/crm/f/117/t/148977

    https://community.dynamics.com/crm/f/117/t/191939

    https://community.dynamics.com/crm/f/117/t/287099

    Hope it helps.

    Best Regards

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans