0D51Y00009QZI7CSAXOkta Classic EngineAdministrationAnswered2020-09-28T07:23:45.000Z2020-09-15T13:58:39.000Z2020-09-28T07:23:45.000Z
Sync Okta AD policy with AD password expiry date

For a customer of ours, some while ago we made sure the Okta AD password policy is reflecting the password policy from their AD.

 

Since this, via automation's, a reminder was created to remind users to change their password in time. The rule which was set is:

/help/servlet/rtaImage?refid=0EM1Y000001KhAR

Several users mentioned that they indeed receive the email which is generated via the automation, but always to early.

 

For example a user received the Okta email notification on the 14th of September, while the password is expiring the 13th of October. So the notification was send roughly two weeks to early.

/help/servlet/rtaImage?refid=0EM1Y000001KhAg

/help/servlet/rtaImage?refid=0EM1Y000001KhAv

Does anybody have an idea how we can synchronize the password expiry dates from AD ?


  • User15954133632897769729 (Tier 2 - US East)

    How you are currently calculating the notification in your automation?

     

    With Active Directory, if a password policy is set to expire passwords on a specific interval then each user account will have several attributes that can be leveraged:

     

    pwdLastSet.

    This is an attribute that specifies the date and time the user's password was last changed.

    This can be used in conjunction with Max-Pwd-Age: "pwdLastSet" + "Max-Pwd-Age" will tell you when the password will expire.

     

    ms-DS-User-Password-Expiry-Time-Computed

    This contains a date/time value

     

    Are you including either of these attributes from AD into your okta profile to use for your automation?

    Expand Post
  • User15954133632897769729 (Tier 2 - US East)

    I should also add there is a feature flag which can be enabled that will automatically message your users 5 days before their password expires, but currently the length of time before cannot be modified.

     

    Once enabled, the option will be under: Security > Authentication > Active Directory Policy

    Expand Post
This question is closed.

Recommended content

No recommended content found...