Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / Disabled User Error wh...
Sales forum
Answered

Disabled User Error when trying to make Account/Contact record

Posted on by

When trying to save either a new account or contact, we got the error saying:

"The system could not log you on. This could be because your user record or the business unit you belong to has been disabled in Microsoft Dynamics CRM. If you contact support, please provide the technical details. Activity ID: 16ddd093-aa9b-4808-add1-8223c28b312dTimestamp: Fri Mar 02 2018 08:06:19 GMT-0500 (Eastern Standard Time)" Please advise."

I have checked the all the user's statuses and they are all enabled with correct licensing. 

Any idea on what might be causing this error?

Categories:
  • CU01050708-0 Profile Picture
    CU01050708-0 2 on at
    Disabled User Error when trying to make Account/Contact record
    Need more context
  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 27 Microsoft Employee on at
    Disabled User Error when trying to make Account/Contact record
    Hi,
     
    We also got the same error.
    The user owning the Real Time Workflow / Plugin Step had its record disabled.
    Through Advanced Find we assigned those processes to another enabled user account. 
     
    We used SQL4CDS plugin to first verify any record owned by that disabled user.
     
    select workflowid, name, primaryentityname, categoryname, modenameg, owneridname, * from workflow
    where 
    category  = 0  
    and ownerid = 'idofuserdisabled'
    and mode = 1
    Select * from sdkmessageprocessingstep 
    where impersonatinguserid = 'idofuserdisabled'
     
    Regards,
    Nishant Rana
  • userGPCRM Profile Picture
    userGPCRM 155 on at
    RE: Disabled User Error when trying to make Account/Contact record

    Thank you Alexis. I did the same. Deactivated effected steps and moving forward. Our concern is about the connector. It was working few days back. Dynamics 365 might be updated with patches that causing issue.

    Appreciate for your prompt response!! 

  • A Flores Profile Picture
    A Flores on at
    RE: Disabled User Error when trying to make Account/Contact record

    Hi,

    After working with Microsoft, we have figured out this is a bug.

    The work around is you can disable the GP Connector's SDK Processing Steps inside of the solution, so that you can save contacts and accounts correctly. Of course this will hinder syncing between GP to CRM and vice versa.  However, if you need the GP Connector to work, you should open a support ticket to see what can be done. 

  • userGPCRM Profile Picture
    userGPCRM 155 on at
    RE: Disabled User Error when trying to make Account/Contact record

    added new post community.dynamics.com/.../274216

  • userGPCRM Profile Picture
    userGPCRM 155 on at
    RE: Disabled User Error when trying to make Account/Contact record

    Alexis - Did you resolve this? Did you check which user it is. If it is 'INTEGRATION' user what is the solution. we get error "The user with SystemUserId=2d5027f3-45aa-46f3-812e-e003e3f74cd8 in OrganizationContext=a3a7e819-f13a-4452-9657-e6d0d2c1f4ce is disabled". In our case this relate to connector for dynamics

  • A Flores Profile Picture
    A Flores on at
    RE: Disabled User Error when trying to make Account/Contact record

    Thanks for the input, but I don't have any custom plugins, so I will probably have to put in a support ticket for this one. 

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Disabled User Error when trying to make Account/Contact record

    Hi,

    This can happen when there is a custom plugin installed for the affected entity and the plugin is set to execute under the context of a user that is no longer enabled in the system.

    For example, there could be a plugin that fires when an Account is saved. The actions performed by the plugin are executed under the context of the user named in the identity of the plugin, not the user that is performing the “Save” action. If the user named in the execution context of the plugin is disabled, this can cause record saving actions to fail for other users.

    You could try the following resolution

    Locate the plugins for the affected entity by performing the steps outlined below:

    1. Open Advanced Find in Dynamics CRM

    2. Change the “Look For” drop down in Advanced Find to: SDK Message Processing Steps

    3. Under SDK Message Processing Steps, select Impersonating User field - Contains Data and Click on Results 4. Locate the affected entity under the Primary Object Type Code column

    5. Check the custom plugin which is installed for the affected entity in the first column

    6. Note the Impersonating User for this custom plugin, and close the Advanced Find window

    Check to see if the impersonating user for this custom plugin is disabled in CRM Online by performing the steps outlined below:

    (1). Within the Dynamics CRM web interface, Click on Settings, click on Administration, click on Users

    (2). Change the view to Disabled Users, and check for the user that was listed as the Impersonating User on the plugin

    Enable this disabled user by performing the steps outlined below:

    (1). Select this disabled user

    (2). On the ribbon you will find enable button

    (3). Click on the enable button

    Hope it helps.

    BR,

    Judy

  • RaviKashyap Profile Picture
    RaviKashyap 55,406 on at
    RE: Disabled User Error when trying to make Account/Contact record

    Hi Alexis,

    It is possible that you have some workflow/plugin which is running on create of account/ contact and these workflow/plugin are owned by some user which is no more enabled in your system.

    Hope this helps.

Helpful resources

Quick Links

Upcoming TechTalk: Copilot Capabilities…

Review the Copilot features that are currently available in Dynamics 365 Finance…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,414 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,394 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans