Deactivate User
- 05 May 2023
- 1 Minute to read
- Print
- DarkLight
Deactivate User
- Updated on 05 May 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.2.0 |
Last Modified in Version | 7.1.2 |
Location | Integration > Okta |
The Deactivate User step allows the deactivation of an Okta user account.
Prerequisites
This step requires the Okta module to be installed before it will be available in the toolbox.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Fully Delete User | The account credentials will be deleted along with deactivation | Boolean |
User | The user account credentials to be deactivated in Okta | OktaUser |
Outputs
Property | Description | Data Type |
---|---|---|
Output | The Okta user account that has been deactivated | OktaUser |
Common Errors
Exception invoking method DeactivateUser on class OktaUserManagementMethods
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.
Exception Message:
Name: Error running step Deactivate User 1[DeactivateUser] in flow [Okta Test]: Exception invoking method DeactivateUser on class OktaUserManagementMethods Exception Message: Error running step Deactivate User 1[DeactivateUser] in flow [Okta Test]: Exception invoking method DeactivateUser on class OktaUserManagementMethods Input Values: -- No Data -- Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Deactivate User 1[DeactivateUser] in flow [Okta Test]: Exception invoking method DeactivateUser on class OktaUserManagementMethods
---> DecisionsFramework.LoggedException: Exception invoking method DeactivateUser 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.DeactivateUser(OktaUser user, Nullable`1 fullyDeleteUser)
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
Was this article helpful?