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
- Salesforce
- Provisioning
- Error
The error message displayed in the Okta Dashboard is generated by the Salesforce application and must be resolved before rerunning the task.
- Open a support case with Salesforce to troubleshoot the error displayed.
- Once resolved, attempt the failed tasks again.
- Go to Okta Admin Console.
- Navigate to Dashboard > Tasks. Any failed assignments will be displayed under Tasks.
- Select the task and click on Retry Selected.
