After this article
You’ll be able to connect the Salesforce integration to Lumos and resolve common issues that arise when connecting.Capabilities
If you use the AppStore to let users request Profiles, configure the request so they can only request one. Provisioning fails if a user selects two or more, because Salesforce allows exactly one Profile per user.
Activity Tracking
Status: Supported. This integration syncs user last-activity timestamps from Salesforce (LastLoginDate).
Required plan and roles
There’s no minimum Lumos plan required to connect the Salesforce integration. This integration supports full provisioning. Certain permissions can be scoped to read-only to limit what Lumos can do:- Replace Modify All Data with View All Profiles + View All Users
- Note: this disables account creation and entitlement assignment in Lumos.
For Sandbox instances, these are additionally required to pull user entitlements:
- PermissionsManageUser
- PermissionsViewAllUsers
- Option A (Profile): Setup → Users → Profiles → select the user’s Profile → Edit → Administrative Permissions / System Permissions
- Option B (Permission Set, recommended): Setup → Users → Permission Sets → New (for example “Lumos Connector Access”) → System Permissions → Edit, enable the permissions above, then Manage Assignments → Add Assignment to assign it to the connecting user.
Modify All Data is required.
Lumos strongly recommends connecting with a dedicated Salesforce service-account user (with an API-capable license) rather than a named employee, so the connection doesn’t break when an individual’s role changes. Don’t disable UI login or revoke permissions from this account after connecting. Doing so breaks the connector.
Read-only access vs provisioning
Is read-only possible? Not as a separate connection type. Lumos always requests thefull OAuth scope, so what Lumos can do depends on the connecting user’s permissions. Replacing Modify All Data with View All Profiles and View All Users on the connecting user limits those permissions, and this page calls that setup read-only mode.
What read-only requires. A Salesforce user (ideally a dedicated service account) with API Enabled, Manage Package Licenses, Customize Application, Manage Profile and Permission Sets, and the read-only alternative set (Manage Connected Applications, View All Profiles, View All Users) instead of Modify All Data. Sandbox connections additionally need PermissionsManageUser and PermissionsViewAllUsers to pull entitlements. Follow the steps in Instructions, granting the read-only permission set instead of Modify All Data.
What full provisioning requires. The same permission set with Modify All Data in place of the read-only alternative. This is required for account creation and for assigning profiles or permission sets.
Watch out for. Switching between the two modes means updating the connecting user’s Profile or Permission Set in Salesforce, not reconnecting the integration, but read-only mode disables account creation and entitlement assignment in Lumos entirely. Don’t disable UI login or revoke permissions from the connecting service account after connecting, either action breaks the connector regardless of which mode you chose.
Settings
When Include Nested Public Group Memberships is on, Lumos refuses to remove a user from a public group they inherit through a nested group. The error lists the IDs of the nested group or groups that grant the membership. This also applies when the user is a direct member of the group and inherits it too, because deleting only the direct membership wouldn’t revoke their access. To revoke the access, remove the user from each nested group listed, or remove those nested groups from the parent group. Removing a nested group from the parent revokes the parent group for every member of that nested group.
Instructions
In Salesforce
- Confirm the connecting user has the permissions above (create and assign a Permission Set via Setup → Users → Permission Sets if needed).
- Note your Salesforce subdomain, the part of your My Domain URL before
my.salesforce.com. Include the entire value, including any--characters (copying the URL can silently collapse--to-, which produces an incorrect subdomain).
In Lumos
- Find the Salesforce card in your Lumos integrations (Reconnect or add new).
- Enter your Salesforce subdomain when prompted.
- Log in to your production (or sandbox) Salesforce tenant as the connecting user and accept the requested OAuth scopes (
full,refresh_token,offline_access) to complete the connection.
API Endpoints Used
Troubleshooting
I can’t connect the Salesforce integration
- Make sure your Salesforce user has the required permissions (including API Enabled) and that you’re logged into the correct Salesforce environment.
- Check that you’ve entered the correct Salesforce subdomain. If your subdomain includes multiple dashes, input the whole subdomain up until the
my.salesforce.comdomain.
The Salesforce integration connected for Sandbox but isn’t showing any users or permissions
- Make sure the URL provided follows the format in the instructions. Copying the URL can silently shorten
--to a single-, which leads to an incorrect subdomain value. - Sandbox connections also require the
PermissionsManageUserandPermissionsViewAllUserspermissions to pull user entitlements.
I can’t remove a Profile entitlement
- Salesforce requires every user to have exactly one Profile at all times, so Profiles can’t be unassigned, only replaced by assigning a different Profile. Attempting removal returns a 400 (“Cannot remove a profile from an existing user”).
The connection broke after you locked down the service account
- Disabling UI login for, or revoking permissions from, the connecting service account after setup breaks the connector. Keep the account’s access (including its MFA/SSO method) intact, and reconnect if credentials changed.
Lumos is syncing community or portal users you don’t want to see
- If your Salesforce tenant includes Communities or Partner Portal users and you don’t want them in Lumos, contact Lumos Support at support@lumos.com or via Slack. Lumos can enable a setting that stops syncing these users, removing them from its Salesforce API calls.
Removing a user from a public group fails with an inherited membership error
- With Include Nested Public Group Memberships on, the user gets the group through one or more nested public groups whose IDs are listed in the error. Remove the user from those nested groups, or remove the nested groups from the parent group in Salesforce, then retry.
Create Account stops for a returning user
- When Create Account tries a username that already belongs to a user in your Salesforce org, such as a returning employee’s deactivated user, Lumos looks up that user instead of creating a duplicate.
- Whether Lumos reactivates the user on its own depends on your Salesforce integration. Some Salesforce integrations reactivate the user automatically. Others reactivate only when automatic reactivation is turned on for your organization and the deactivated user is already linked to the same person in Lumos. Otherwise the step stops with an error task. Reactivate the user in Salesforce, then click “Mark as Done” on the task so the workflow continues. To turn on automatic reactivation, contact Lumos Support.
- Reactivating doesn’t change the user’s profile. The user keeps the profile they had before they were deactivated.
Account creation fails because the username is already taken
- Salesforce usernames are unique across every Salesforce org, not only yours. If Create Account fails because the username is taken and Lumos can’t find that user in your org, the username belongs to another Salesforce org. Use a different username, then retry the request from Lumos. If your Salesforce integration uses each person’s email as their username, contact Lumos Support.
Can Lumos freeze a Salesforce user?
- No — the connector deactivates users, it doesn’t freeze them. For offboarding, deactivate the user, optionally transfer data, and release permissions. Lumos also syncs Last Login/Activity for reporting.
SCIM provisioning fails with 400 “User can only have one email”
- The email attribute sync is sending more than one email value per user. Disable the email attribute sync so a single email is sent, then retry the affected error tasks.
Connecting a second or third Salesforce instance
- Multiple Salesforce instances (for example UAT and Production) are supported. Connect each as its own Lumos integration with its own subdomain rather than reusing one connection.