
BradM.51775 (Customer) asked a question.
We are trying to set a company attribute in Okta -> AD -> M365 coming from Workday. Since this attributes for some oddball reason is not passed from Workday to Okta, we are using an expression for the Okta organization attribute as follows:
hasWorkdayUser() ? "CompanyName" : "null"
The problem is that we have three instances of Workday: production, preview and sandbox. As such, the expression always returns null for users who are assigned more than one instance of Workday. I would hard code the company name but since we have vendors and contractors intermingled in Okta, I can't do that. We use the above method since only employees are present in our instance of Workday. So my question is, how can I assign a company name for only employees in Okta without using any workday expressions?

Hello @BradM.51775 (Customer) Thank you for posting on our Community page!
You can update this attribute for the required users though CSV bulk update, please see our doc below for this:
https://support.okta.com/help/s/article/bulk-update-okta-user-profiles-via-csv-import?language=en_US
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.