
HeorhiF.32654 (Customer) asked a question.
Hi everyone,
I’m working on integrating Paylocity with Okta via SCIM provisioning, and I’ve run into an issue when trying to switch Paylocity as the source of truth.
When Paylocity is set as the source, the provisioning fails because of username mismatches:
• Paylocity sends first.lastname as the userName.
• Okta uses the email address as the username for SSO.
• If I try to log into Paylocity using first.lastname, I get:
“Invalid single sign-on attempt. Please log in or contact your company administrator to link your account.”
• If I change the username format in Paylocity to email, the app disappears from Okta, and provisioning fails with “user not found” errors.
Is there a supported way to make Paylocity send user.email instead of first.lastname as the SCIM userName?
If not, what’s the best practice to transform the username in Okta (Expression Language, profile mapping, etc.) to keep Okta email-based logins working?
Has anyone successfully normalized usernames between Okta and Paylocity without breaking SSO?
Any insight, best practices, or confirmed working setups would be really appreciated!
Thanks in advance, George

I've tried that way as well.
In the meantime, I have also contacted Paylocity's tech support.
And..... I don't know why Okta doesn't have that updated instruction:
Setting up User Provisioning in Okta
1. In Okta, we recommend having 2 installations of the Paylocity application: one used for SSO and one for Provisioning. This will avoid making changes to your SSO-enabled app integration and any possible conflicts between the 2 features. The SSO-enabled app integration and the provisioning-enabled app integration are “linked” through the use of shared user folders.
a. The provisioning-enabled app integration will run in the background and will not be accessible to users. Users will only access the SSO-enabled app integration. The provisioning-enabled app integration only handles user lifecycle management actions.
I hope that information could save a lot of time for admins who are going to do the same integration.
Let me know if you need my assistance.
Thanks, everyone.