Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Error with disabled users

Posted on by 19

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

Categories:
  • Kostas K Profile Picture
    Kostas K 19 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
    Leah Ju 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans