<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
0D51Y00007fo0u2SAAOkta Classic EngineLifecycle ManagementAnswered2025-12-04T17:08:43.000Z2020-01-29T14:02:24.000Z2020-02-04T00:15:09.000Z

SomilB.83649 (Customer) asked a question.

How to append the AD proxyaddress field from Okta?

We have an on prem AD and Exchange, Workday (as a master) -> Okta -> AD for all mail enabled users. We would like to allow Workday to "own" the email address (as Workday handles name changes) and update AD accordingly. Has anyone had success in manipulating the proxyaddress field to create the new SMTP entry and append the old email address to the existing secondary email addresses already in the field?

 


  • woew9 (woew9)

    We have a process that appends a primary SMTP from Workday to AD, but this is during user creation. I do not know how it could be modified to add the old primary address as an alias smtp. Here's an example, if this helps.

     

    String.stringContains(user.email, "company.com") ? Arrays.add(user.ProxyAddresses, String.append("SMTP:", user.email)) : hasDirectoryUser() ? findDirectoryUser().proxyAddresses : null

    Expand Post
    Selected as Best
  • woew9 (woew9)

    We have a process that appends a primary SMTP from Workday to AD, but this is during user creation. I do not know how it could be modified to add the old primary address as an alias smtp. Here's an example, if this helps.

     

    String.stringContains(user.email, "company.com") ? Arrays.add(user.ProxyAddresses, String.append("SMTP:", user.email)) : hasDirectoryUser() ? findDirectoryUser().proxyAddresses : null

    Expand Post
    Selected as Best
This question is closed.
Loading
How to append the AD proxyaddress field from Okta?