| Step Details | |
| Introduced in Version | 4.2.0 |
| Last Modified in Version | 7.1.2 |
| Location | Integration > Okta |
The Remove User From Group step will remove a desired Okta user from an Okta group they belong to.
Prerequisites
This step requires the Okta module to be installed before it will be available in the toolbox.
Properties
Inputs
| Property | Description | Data Type |
|---|---|---|
| Group Name | The Okta group name | String |
| User | The Okta user | OktaUser |
Common Errors
Exception invoking method RemoveUserFromGroup 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.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Remove User From Group 1[RemoveUserFromGroup] in flow [Okta Test]: Exception invoking method RemoveUserFromGroup on class OktaUserManagementMethods ---> DecisionsFramework.LoggedException: Exception invoking method RemoveUserFromGroup on class OktaUserManagementMethods ---> System.NullReferenceException: Object reference not set to an instance of an object. at Decisions.Okta.OktaUserManagementMethods.VerifyUserHasId(OktaUser user) at Decisions.Okta.OktaUserManagementMethods.RemoveUserFromGroup(OktaUser user, String groupName) 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
