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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Error with disabled users

(0) ShareShare
ReportReport
Posted on by 29

Hi to all,

At our organization we have plugins and jobs that can assign records to disabled users. Until now we didn't faced any problems, but between 25/3-27/3, jobs that use this procedure, failed with the following error:

The user with SystemUserId=70257641-0464-ec11-8f8f-6045bd888e84 in OrganizationContext=da01578f-4129-4bf3-8ab0-70c12e7c517b is disabled. Disabled users cannot access the system. Consider enabling this user. Also, users are disabled if they dont have a license assigned to them.

From 27/3 until now, everything works as usual. Did Microsoft changed anything depending on user licenses?

Thank you,

Kostas

I have the same question (0)
  • Kostas K Profile Picture
    29 on at
    RE: Error with disabled users

    Hello Leah,

    Thank you for your answer. After a contact with Microsoft Support I had the following answer:

    The behaviour that you have reported seems in fact consistent with a known issue that we have had globally, for which the fix has already been rolled-out worldwide. It might take a few days for it to propagate to every existing DataCenter, but from your description I am assuming it has already been fixed for you as well.

    It was a microsoft's bug and now everything works fine

  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Error with disabled users

    Hi Kostas,

    Maybe you can try to the following way:

    https://www.thrives.be/dynamics-365-ce/assign-security-roles-to-disabled-users-in-dynamics365/ 

    There is an Organization Setting which allows us to assign security roles to Disabled Users. The ‘AllowRoleAssignmentOnDisabledUsers’ setting allows us to assign Security Roles to disabled users. 

    1. Download and import the solution in the target CRM environment.
    2. Open the solution through the Advanced Setting in Dynamics 365.
    3. Search for the setting AllowRoleAssignmentOnDisabledUsers and click the Add button.
    4. After clicking Add, click the Edit button.
    5. In the popup screen, change the value to true.

    pastedimage1680144219178v4.png

    Then you can assign roles to disabled users successfully, then you can assign records to the disables users who have been assigned roles.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 251

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 90 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans