When attempting to deactivate a Salesforce user, you may receive the following error message:
"You cannot deactivate this user. You cannot deactivate a user who is receiving cases or notifications as part of your case assignment/escalation rules. Click here to view your case assignment / escalation rules."
This error occurs because the user is still referenced in one or more active or inactive Case Assignment Rules or Escalation Rules. Salesforce prevents deactivation to protect routing integrity — if the user is listed as an assignee or notification recipient in any rule, the platform blocks the action.
Common scenario: A user is referenced in an Escalation Rule's Escalation Action (under "Assign To" or "Notify") within an inactive or active rule entry. Unlike Assignment Rules — where the "Assign To" field is visible at the rule level — Escalation Rules require you to click into each Rule Entry to view the Escalation Action details.
To resolve this error and successfully deactivate the user in Salesforce, follow these steps:
If the issue persists after checking rules through the UI, use a Metadata API tool such as Salesforce Extensions for Visual Studio Code to search for references to the user's ID across all metadata.
Once all references to the user are removed from Assignment and Escalation Rules, return to Setup > Users, open the user record, and uncheck the Active checkbox to deactivate.
Salesforce Extensions for Visual Studio Code
Error when you deactivate a user who is the default case owner
000383178

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.