<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
0D54z00007pLrk9CACOkta Classic EngineAuthenticationAnswered2026-04-01T09:00:20.000Z2022-07-21T16:19:46.000Z2022-07-22T19:10:14.000Z
  • k5fuw (k5fuw)

    I'm not sure what you mean by "group expression as a username format". You can use the Okta Expression Language to create a custom username format for an app. For instance, we have one app that requires the username to be in the old-style Windows "domain\samaccountname" format. To match that, we had to set the username format to Custom and the Okta expression looks like this:

     

    user.addomainname + "\" + String.substringBefore(user.login,"@")

     

    If you have a single domain, you could hard code the entire front part, but we have three AD domains being imported, so I created the "addomainname" attribute in the Okta profile and then hard code the domain name on import.

    Expand Post
This question is closed.
Loading
Okta Group expression use as a username foramte