<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
0D5WR000011bc0n0AAOkta Identity EngineWorkflowsAnswered2025-12-31T17:04:44.000Z2025-12-01T20:45:43.000Z2025-12-31T17:04:44.000Z

Pratula.69048 (Customer) asked a question.

Is it possible to push a temporary password downstream to Ad/Entra ID for first time login

I have setup a New Joiner flow in Okta based on new user creation event from HR system.

I want to continue using AD and Entra ID downstream for managing passwords, just need a one time password in Okta to be assigned for user to login (which can be mailed to the manager).

 

What would be the best way to handle this scenario?


  • Hi @Pratula.69048 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    I'm not sure you can implement this as it references multiple authentication flows that would typically be conflicting. Individually, there are some configuration options that might allow this but all four in conjunction, I don't think so.  

    For Okta to manage the password, it would have to be the IDP, but if you have AD in the mix, it typically would leverage Delegated Authentication which means the password is not in Okta and with Entra to manage the password, it would typically need to be implemented as an external IDP for Okta, which again means the password would not be in Okta.  

    You could try and check with our colleagues over on the Workflows Discussion Group to see if there's a way to leverage automations + API as proof of concept but actual implementation would fall in the realm of Okta Professional Services.  

     

     

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Just released: More Okta Community badges just added

    Expand Post
  • TimL.58332 (Workflows)

    @Pratula.69048 (Customer)​  -- The user has to be in an "Activated" status this includes "Pending User Action". But if they are you can use either the following endpoint or a combination of it and update password endpoint (if you want to generate your own password)

     

    Expire the user password with a temp password generated:

    https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UserCred/#tag/UserCred/operation/expirePasswordWithTempPassword

     

    Update Password:

    https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UserCred/#tag/UserCred/operation/changePassword

     

     

    So the "Expire with password generated" will give a temp password. However, if you want a more complex one or to generate your own you still have to take that step to be able to leverage Update password since it requires you knowing the current password.

     

     

    Expand Post
    Selected as Best
    • Pratula.69048 (Customer)

      Can I generate a new password, treat it as an attribute and just pass it downstream to AD and Entra ID (using Office 365 integration).

      I can enable delegated authentication for users to login using AD credentials. is that a viable strategy?

  • TimL.58332 (Workflows)

    @Pratula.69048 (Customer)​ -- I don't know. I was specifically speaking to what is available on the API's for directly manipulating user account passwords. For example, if you look at the first link the body response from the API is a random I think 6 length password. However, since you know that password you could "Update password" and generate a much longer password. That generated password is just plain text and could be moved by any method you are able to move plain text.

     

    As far as the available methods to authenticate users into Okta through SP type integrations you would need to refer to that subset of specific documentation.

     

     

    Expand Post

Loading
Is it possible to push a temporary password downstream to Ad/Entra ID for first time login