<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

Okta Unexpectedly Deactivates Users After Changing Licenses in Salesforce Community

Okta Classic Engine
Okta Identity Engine
Lifecycle Management

Overview

When migrating or changing user licenses in Salesforce, Okta no longer recognizes the affected users during the next import and unexpectedly deactivates them. This occurs because the Okta Salesforce integration only imports the original license type. Update the Okta Salesforce Community integration settings to ensure the checkbox corresponding to the new target license UserType is active.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Integration Network (OIN)
  • Salesforce.com Community Integration

Cause

When the Okta Integration Network (OIN) Salesforce application has the User Profile & Type set to Salesforce Community User, Okta queries users from Salesforce during import based on specific Salesforce Application Programming Interface (API) UserType values. When an administrator changes a user's Community license in Salesforce, Salesforce automatically modifies the user's underlying UserType value on the Standard User object. If the Okta Salesforce integration only imports the original license type, the Okta import query filters out any user switched to a new license. Because the import results omit the user, Okta interprets the user as removed or deactivated in Salesforce and deactivates the corresponding Okta user.

Solution

How is the unexpected deactivation resolved?

Navigate to the Salesforce.com Community Users application in the Okta Admin Console, edit the provisioning settings, and select the import checkbox that corresponds to the new Salesforce Community license.

  1. In the Okta Admin Console, navigate to Applications > Applications and open the Salesforce.com Community Users integration.
  2. Select the Provisioning tab, and then select To Okta under the Settings menu.
  3. In the General section, click Edit.
  4. Select the import checkbox that corresponds to the new Salesforce Community license.

 

Okta UI Selection Checkbox
Salesforce API UserType
Corresponding Salesforce License
Import "Customer" users
CSPLitePortal
Customer Community
Import "Customer Community User" users
CustomerSuccess
Customer Portal Manager Standard
Import "Customer Community Manager" users
PowerCustomerSuccess
Customer Community Plus
Import "Partner" users
PowerPartner
Partner Community

 

NOTE: If performing a phased migration, keep both the old and new user type checkboxes selected until all users migrate so that Okta does not deactivate either group during intermediate imports.

 

  1. Click Save.
  2. Navigate to the Import tab and run a test import with a small batch of migrated users to verify that accounts remain active and properly linked before proceeding with a full-scale license migration.

 

Related References

Loading
Okta Unexpectedly Deactivates Users After Changing Licenses in Salesforce Community | Okta Support