Cannot delete users in Business Central 21.3

I am having trouble deleting some users in our environment. I get the error message that

The user "X" cannot be deleted because the user has been logged on to the system. To deactivate a user, set the user's state to Disabled.

I have found that the solution to this, is to delete user settings, sessions setup etc.

All that is done, and the status is Disabled, yet I get an error that the value "IsGraphUserAccountEnabled" prevents the user from being deleted, when I look into the code through debugging/callstack.

I cannot set the value. Is there a way to workaround this and delete the user(s)?

Answers

  • ShaiHuludShaiHulud Member Posts: 228
    If I recall correctly (at least in the older versions), it required that User Personalizations, Time Registers and User Setup for that user be deleted before it allowed the entire user to be removed
Sign In or Register to comment.