--- title: "Expire User Password" slug: "expire-user-password-okta" updated: 2023-05-05T16:09:44Z published: 2023-05-05T16:09:44Z canonical: "documentation.decisions.com/expire-user-password-okta" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Expire User Password | Step Details | | --- | | **Introduced in Version** | 4.2.0 | | **Last Modified in Version** | 7.1.2 | | **Location** | Integration > Okta | The **Expire User Password** step allows an Okta user account's password to be expired. The user will need to reset their password at the next login. ### Prerequisites This step requires the Okta [module](https://documentation.decisions.com/docs/installing-and-configuring-the-okta-module) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Use Temp Password | Issue a one-time password to the user | Boolean | | User | The Okta user account | OktaUser | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The Okta user account | OktaUser | --- ## ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Expire%20User%20Password(1).png) --- ## Common Errors ### **Exception invoking method ExpireUserPassword on class** This error occurs if the Okta module is not properly set up. In Decisions go to Settings > Okta > Edit Okta Settings. Review the Okta Subdomain or URL and confirm that it is correct. In Okta review the SAML settings under Applications > Decisions > General. ```csharp Name: Error running step Expire User Password 1[ExpireUserPassword] in flow [Okta Test]: Exception invoking method ExpireUserPassword on class OktaUserManagementMethods Exception Message: Error running step Expire User Password 1[ExpireUserPassword] in flow [Okta Test]: Exception invoking method ExpireUserPassword on class OktaUserManagementMethods Input Values: -- No Data -- Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Expire User Password 1[ExpireUserPassword] in flow [Okta Test]: Exception invoking method ExpireUserPassword on class OktaUserManagementMethods ---> DecisionsFramework.LoggedException: Exception invoking method ExpireUserPassword on class OktaUserManagementMethods ---> System.ArgumentException: User ID is missing: This step can only be used with users retrieved from Okta. at Decisions.Okta.OktaUserManagementMethods.VerifyUserHasId(OktaUser user) at Decisions.Okta.OktaUserManagementMethods.ExpireUserPassword(OktaUser user, Nullable`1 useTempPassword) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` Related Information [Installing and Configuring the Okta Module](https://documentation.decisions.com/docs/installing-and-configuring-the-okta-module)