Salesforce Provisioning Error: "DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): User, original object: AccountShare"
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

Error during Salesforce provisioning flow fails with the following error visible in the Okta dashboard:

 

Automatic provisioning of <Username>  to app Salesforce.com failed: DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): User, original object: AccountShare

 

Applies To
  • Salesforce
  • Provisioning
  • Error
Solution

The error message displayed in the Okta Dashboard is generated by the Salesforce application and must be resolved before rerunning the task.

  1. Open a support case with Salesforce to troubleshoot the error displayed.
  2. Once resolved, attempt the failed tasks again.
  3. Go to Okta Admin Console.
  4. Navigate to Dashboard > Tasks. Any failed assignments will be displayed under Tasks.
  5. Select the task and click on Retry Selected.

Recommended content

No recommended content found...