Salesforce Lead Assignment Rule deployments via Change Sets can fail for several reasons, including inactive users, missing queues, missing dependent custom fields, or Case Team conflicts. This article documents each scenario and its resolution.
Possible reasons:
You may encounter the following error:
‘Lead.Geographic Territory Assignment Rule 3 21owner or user is inactive. Org Id: 00DXXXXXXXXXXXX’
Solution:
Use Package.xml, Assign users which exist in the target to the AssignmentRules and deploy using MdAPI
Solution:
Deploy Queues Separately via Change set or MdAPI before deploying Assignment Rules if the Assignment Rule already exists in the org
Solution:
Add the non existing Custom fields in the change set components and redeploy
See more details on the Know Issue:
Duplicate case team entry error on deploy of case assignment rules
Rename the Assignment Rule in source org to something which doesn’t exist in the target org, upload the change set, then validate on the target org. If the data is valid and change set contains all components, validate should succeed else will throw the valid error which the customer can fix.
000389417

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.