web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unable to access CRM

(0) ShareShare
ReportReport
Posted on by 385

Hello All,

i am unable to access CRM onprem, to the high level i understand this is because of the "The user Id is invalid". I checked with the admin, the error is same. I am able to access CRM(other ORG's) in the same DB, without any issue.

Error:

An error has occurred.

Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.

Microsoft.Crm.CrmException: The user Id is invalid. at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context) at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext) at Microsoft.Crm.Authentication.CrmWindowsIdentity.DoRecognizeUser(String userToken, Guid organizationId, LocatorServiceContext locatorServiceContext) at Microsoft.Crm.Authentication.BaseCrmIdentity.RecognizeCrmUser(Guid organizationId, LocatorServiceContext locatorServiceContext) at Microsoft.Crm.Authentication.BaseCrmIdentity.RecognizeCrmUser(Guid organizationId) at Microsoft.Crm.Extensibility.InternalSdkContextInitializer.SetHttpContext(WindowsIdentity windowsIdentity, Guid organizationId, Guid callerId) at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request) at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal() at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute() at Microsoft.Crm.Application.Caching.CustomResourceLoader.GetCustomResources(IOrganizationContext context, Int32 cacheKey) at Microsoft.Crm.Application.Caching.CustomResourceLoader.LoadCacheData(Int32 key, IOrganizationContext context) at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context) at Microsoft.Crm.Application.ResourceManager.CustomResourceManager.TryGetCustomString(String name, CultureInfo culture, IOrganizationContext context) at Microsoft.Crm.Application.ResourceManager.CustomResourceManager.TryGetCultureString(String name, CultureInfo culture, IOrganizationContext context) at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context) at Microsoft.Crm.Web.GlobalBase.BuildErrorHandlerUri(String errorHandlerPage, ErrorInformation errorInformation) at Microsoft.Crm.MainApplication.GenerateDevErrorPage(ErrorInformation errorInformation) at Microsoft.Crm.MainApplication.HandleError(ErrorInformation errorInformation) at Microsoft.Crm.MainApplication.Application_Error(Object sender, EventArgs eventArguments)

*This post is locked for comments

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    You could refer the following thread on the same topic-

    community.dynamics.com/.../155264

    community.dynamics.com/.../194884

    Hope this helps.

  • VIJENDER REDDY Profile Picture
    385 on at

    Thanks Ravi for the quick response.

    Looks like those are the issues where some one upgrade the CRM to higher levels.
    My situation looks bit tricky. One organisation works and other wont, so no chance of AD privileges issue.

    Goolged and found some links:
    community.dynamics.com/.../235831
    community.dynamics.com/.../155264
    www.mofeel.net/.../9228.aspx
    support.microsoft.com/.../error-message-when-you-log-on-to-microsoft-dynamics-crm-4-0-or-when-yo

    The final check is to go my MS ticket.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hello Vijender,

    Are you system administrator user?

    I have also face this issue , could you please check whether you can open deployment manager with the same user. This is happening because you don't have crm connfig database permission.

    Check whether you have full access of databease server for the same user.

    Check all the service is running sql and CRM related.

    Hope you could find something.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans