<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
0D54z00007x9JWUCA2Okta Classic EngineAdministrationAnswered2024-04-18T09:07:26.000Z2022-08-23T18:26:41.000Z2022-08-23T19:32:32.000Z

ggtaz (ggtaz) asked a question.

Change email address while provisioning users to GW

Hello I am trying to provision users that are present in Okta to GW. However while doing so I need to change the email address to the domain present in GWS. Eg: if my user in Okta is user@abc.com I need to change it to user@xyz.com while provisioning (other attributes remaining the same). I am able to do it for a single user but not sure how to accomplish for multiple users


  • MatthewH.10249 (State of Iowa)

    I think you just need adjust the "User Profile Mappings" in Okta for GW. You can find this going to:

    Directory->Profile Editor->Users(search for GW)->Mappings(click link)

     

    On the mapping screen make sure you are on the "Okta to GW" tab not "GW to Okta" tab. Next scroll down to the email attribute you want updated. On the Okta side enter an expression like:

    String.replace(source.email, "abc.com", "xyz.com")

    You can do other things with Okta expressions if needed. https://developer.okta.com/docs/reference/okta-expression-language/#string-functions

     

    Before you "Save Mappings" make sure you test a few accounts out by using the "Preview" found at the bottom of the page. When you run "Preview" you should see the transformed data if you scroll back up to email.

    Expand Post
This question is closed.
Loading
Change email address while provisioning users to GW