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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Business Management ERROR :The user ID associated with the current record is not valid

(0) ShareShare
ReportReport
Posted on by

When I try to enter a new opportunity, it is not allowing me to save it and has the following message below. I am able to enter other opportunities just fine.

Business Management ERROR :The user ID associated with the current record is not valid

Jason

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi,

    Do you have any business process flow/ business rule / JavaScript or any other custom code which is assigning opportunity to specific user after creation.

    It looks like user assigned to new opportunity is deactivate. Either you need to activate user or need to change logic to assign record to active user.

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

    Seems the user in AD having authorization issue , what changes you did recently with this particular user ?

    Can you check whether the same opportunity can open by another user or not. If yes then there should be issue with the login user , you can just change the user name and save the user and try open the particular opportunity again.

    Are you able to create new Opportunity? What happen when you trying  to update newly created opportunity?

  • Community Member Profile Picture
    on at

    We only have 1 CRM user, he is able to create other new opportunities just fine (and update existing ones).

  • gdas Profile Picture
    50,091 Moderator on at

    Can you please check in the event viewer  and share more details of the error.

  • Community Member Profile Picture
    on at

    The Windows Event Viewer?

  • Community Member Profile Picture
    on at

    There have been no changes to this user in CRM. This is not an AD authorization issue, he can create new opportunities and update existing ones just fine.

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The user Id is invalid.Detail:

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance&quot; xmlns="schemas.microsoft.com/.../Contracts&quot;>

     <ErrorCode>-2147214049</ErrorCode>

     <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic&quot; />

     <Message>The user Id is invalid.</Message>

     <Timestamp>2019-01-11T11:51:32.1914689Z</Timestamp>

     <InnerFault i:nil="true" />

     <TraceText>

    [USD.CRM.Plugins: USD.CRM.Plugins.PostOpportunityCreate]

    [4a31f3e4-a186-e611-80ea-005056801edc: PostOpportunityCreate]

    Entered USD.CRM.Plugins.PostOpportunityCreate.Execute(), Correlation Id: 8840e165-d83f-47c0-a083-f3eaccf45320, Initiating User: 74962ae0-8280-e811-8108-005056801edc

    USD.CRM.Plugins.PostOpportunityCreate is firing for Entity: opportunity, Message: Create, Correlation Id: 8840e165-d83f-47c0-a083-f3eaccf45320, Initiating User: 74962ae0-8280-e811-8108-005056801edc

    Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: The user Id is invalid. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: 8840e165-d83f-47c0-a083-f3eaccf45320, Initiating User: 74962ae0-8280-e811-8108-005056801edc

    Exiting USD.CRM.Plugins.PostOpportunityCreate.Execute(), Correlation Id: 8840e165-d83f-47c0-a083-f3eaccf45320, Initiating User: 74962ae0-8280-e811-8108-005056801edc

                  [Microsoft.Crm.Sales.ObjectModel: Microsoft.Crm.Sales.ObjectModel.Connections.ConnectionPlugin]

                  [cd862d32-4564-49b5-b074-e1ab6e1f71ab: ConnectionPlugin]

    </TraceText>

    </OrganizationServiceFault>

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

    As per error details the error is coming from USD.CRM.Plugins: USD.CRM.Plugins.PostOpportunityCreate plugin ,Not sure is it custom plugin?

    Can you please deactivate  this plugin steps by going to settings - > customization-> Customize  the system- > SDK message processing steps and see it's working or not.

  • Community Member Profile Picture
    on at

    I have a ticket open with Microsoft, I will update you with the solution.

  • Poornesh Profile Picture
    10 on at

    Hey Toberah,

    Was this question answered by Microsoft?

    Even I am getting exact same error, while I try to add disabled(Stub) user into an Access Team.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans