<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
0D54z00009TTRU7CAPOkta Classic EngineAdministrationAnswered2025-10-03T09:00:18.000Z2023-07-20T15:15:23.000Z2023-10-18T15:54:26.000Z

r3ujg (r3ujg) asked a question.

Can you change a username and primary email in Okta and it updates in M365? How to accomplish?
  • Okta is our source of truth (recently migrated).
  • Our users are NOT sourced from AD.

Scenario: Someone gets married and wants to change their legal name, meaning their username, display name, and primary email address. The old name needs to remain as an alias in exchange online.

 

I am guessing that since the primary key between the okta and m365 integration is the primary email, changing it will NOT update the primary email in M365, rather create a new user? Can someone confirm this?

 

Looking for way to perform a name change in okta without orphaning something in M365. Hope that makes sense.

 


  • r3ujg (r3ujg)

    Here is what support said:

     

    You can match users on any attribute you like, depending on your settings of "Application username format" under the Sign On tab. Once the Okta user is created/matched in Office, the Okta user gets an application user ID. After that, if you have "Update application username on" under Sign On set to Create and Update, changing the username in Okta will push an update in Office as well. The same goes for any other attribute. Having "Create and Update" under mappings for an attribute will update it, if it's changed in Okta. 

    Expand Post
    Selected as Best
  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @r3ujg (r3ujg)​ 

     

    Thank you for posting on our Community page!

     

    I see you have an open case with Support, 01808953. 

     

    Please collaborate with the Engineer and post the answers here as well when you have them.

     

    Thank you for reaching out to our Community and have a great day!

    _____________________________________________________________________________

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    _____________________________________________________________________________

    Expand Post
  • r3ujg (r3ujg)

    Here is what support said:

     

    You can match users on any attribute you like, depending on your settings of "Application username format" under the Sign On tab. Once the Okta user is created/matched in Office, the Okta user gets an application user ID. After that, if you have "Update application username on" under Sign On set to Create and Update, changing the username in Okta will push an update in Office as well. The same goes for any other attribute. Having "Create and Update" under mappings for an attribute will update it, if it's changed in Okta. 

    Expand Post
    Selected as Best
This question is closed.
Loading
Can you change a username and primary email in Okta and it updates in M365? How to accomplish?