<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
0D51Y00005pKGZCSA4Okta Classic EngineAdministrationAnswered2024-04-15T12:40:56.000Z2018-12-28T16:47:07.000Z2019-01-02T22:09:26.000Z

jz3l5 (jz3l5) asked a question.

How do I assign a timezone to a user?

We have an issue where we would like to put our human resource management software behind OKTA, but we have users in multiple states and time zones. We are worried that it will screw up their hours when they clock in and out. Is there a way to assign sets of users a timezone, and then to pass that information to the app? I see that it is a field in the user profile, but it is not an attribute in AD. I am wondering if adding it as a custom attribute to AD and then passing it to OKTA would work?


  • Thank you for posting your question on the Okta Community. Yes, you can create a custom attribute for Time Zone in Active Directory and map the attribute to the Okta timezone attribute under Profile Editor > Active Directory > Mappings. Okta Timezone attribute supports tz timezone database listed here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If your HR system has a timezone format different than that of the standard time zone formats, you can create a custom attribute in Okta to map it to the user's Okta profile. This timezone attribute in Okta can then be mapped and used to sync from Okta to the HR system. You can always open a case with Okta Support if you would like further assistance in this setup.

    Expand Post
    Selected as Best
  • Thank you for posting your question on the Okta Community. Yes, you can create a custom attribute for Time Zone in Active Directory and map the attribute to the Okta timezone attribute under Profile Editor > Active Directory > Mappings. Okta Timezone attribute supports tz timezone database listed here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If your HR system has a timezone format different than that of the standard time zone formats, you can create a custom attribute in Okta to map it to the user's Okta profile. This timezone attribute in Okta can then be mapped and used to sync from Okta to the HR system. You can always open a case with Okta Support if you would like further assistance in this setup.

    Expand Post
    Selected as Best
  • jz3l5 (jz3l5)

    Vignesh,

     

    Thank you for pointing me in the right direction. I have a follow-up question for you. On the tz database table you linked me to which of the columns would OKTA recognize as a time-zone format? For example, if I am on mountain time would I enter that in AD as UTC-06, UTC-6, MT, MDT, or one of the other formats?

    Expand Post
This question is closed.
Loading
How do I assign a timezone to a user?