Salesforce's provisioning flow fails with the following error visible in the Okta dashboard:
Automatic provisioning of user <user> to app Salesforce.com failed: INVALID_FIELD : No such column 'UserPermissionsLiveAgentUser' on entity 'User'.
- Salesforce
- Provisioning
This error can occur when trying to send data to a Salesforce field that has been deleted or modified. Salesforce app data in Okta is not up to date and needs to be refreshed.
Refresh application data by re-authenticating API credentials used for provisioning to/from Salesforce, which will cause the download and update of application data into Okta.
- Go to the Okta admin panel and navigate to Applications > Applications > Salesforce > Provisioning > Integration > Edit.
- Enter the OAuth Consumer Key and OAuth Consumer Secret. See Configure OAuth and REST integration for more details.
- OAuth Consumer Key: Consumer Key from Salesforce OAuth settings.
- OAuth Consumer Secret: Consumer Secret from Salesforce OAuth settings.
- Click Re-authenticate with Salesforce.com.
- In the new Salesforce.com window, enter the administrator username and password that were used to create the Connected OAuth App.
- Click Allow to permit access to the Connected App.
- Back on the Provisioning page in Okta, see a message confirming successful authentication. Click Save.
- Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
- After identifying the failed task for the user that should be retried, click on Retry Selected.
