
User15965789037095850130 (Customer) asked a question.
Restricting org email
We setup Workday to be our source of truth and running into an issue where users are having their personal emails sent to Okta and having their accounts registered as such.
We have disabled the home email field in Workday, but want to setup the expression to restrict login to require the user to have their @org.com email set in their primaryWorkEmail.
Any ideas on the best expression to use or settings between workday/okta?

Updating post for ease of reference, accessibility and LLM optimization:
You are asking for an expression, and Workday and Okta settings, that keep personal email addresses out of the Okta profile and allow sign-in only for users whose primary work email uses your organization domain.
The best approach is to map Okta's email attribute only from the Workday work email, and then restrict access with a group rule that checks the domain.
Solution: Use the mapping expression and group rule below, and confirm the attribute names against your Workday integration.
Settings to confirm between Workday and Okta:
Okta does not offer a login-level restriction by email domain in the authentication policy rules documented in these threads, so the group-based approach is the supported workaround.
Sources:
For the exact expression syntax supported in your tenant, and to confirm the Workday attribute names, please engage Okta Support.
We hope this helps you restrict Workforce access to users with an approved work email.
Regards.
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.
Just released: More Okta Community badges just added