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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Cannot write to Account table on Dynamics365

(0) ShareShare
ReportReport
Posted on by 40

Hi,

We are having trouble with creating/modifying records on our accounts table, which is causing a massive problem for our business.

This is the error we get when attempting to save a record:

Exception Message: The user with SystemUserId=xxxxxxxx in OrganizationContext=xxxxxxx is disabled

ErrorCode: -2147220955
HexErrorCode: 0x80040225

ErrorDetails:
ApiExceptionSourceKey: Step/Microsoft.Crm.Extensibility.ImageRetrievalStep
ApiStepKey: xxxxxxx
ApiDepthKey: 1
ApiActivityIdKey: xxxxxxx
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: unManagedidsusernotenabled
ApiExceptionHttpStatusCode: 400

HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040225&client=platform

There are a few background bits of information:

  • We can confirm this is error is related to one of our user accounts. The particular user in the Exception message has left the company and their credentials have been deleted. We cannot reassign any licences to an account that no longer exists. We have no idea where this particular account is linked to any particular issue.
  • This problem is only effecting only 2 of our environements, not all environments suffer with this issue
  • This issue extends to using the API, as well as frontend too, the same error is produced.
  • we have checked Solutions.etc but cannot find anything glaringly obvious, we're not exactly sure where the issue could be.
  • This is only affecting the accounts entity. Opportunities.etc are still functioning correctly.

Any help would be fantastic. We're not exactly sure where to start looking, as I have said, we have checked many obvious places but everything seems to be in place, and nothing seems to be directly linked to the deleted account. Not really sure how to approach this issue. 

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Please verify the owner of the workflow,BPF and Custom action in your instance to see if it is still assigned to the mentioned user.

    8484.CR63.PNG

    Also, please verify plugin steps - calling user using plugin registration tool.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • RayFoster Profile Picture
    40 on at

    Hi,

    Thanks for the response. Yes the owner of all the processes are the old user who has been deleted. However between environments they all appear to be identical - but this issue only effects two of them.

    We are not sure if it will cause more issues transferring ownership to someone else

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Workflow which is running in background will not cause any issue and not block user to save/modify the record.

    However workflow which are Real Time workflow and Execute as select to Run under the context of Workfow owner will have an issue. Please see below highlighted image.

    6153.CR64.PNG

    So please check the count of real time workflow which has set as The owner of the worklow and try to resolve those workflow by assigning to another user with same security role as old user.

    You can get the Disabled user role from audit history.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans