Get Users In Group
- 08 May 2023
- 1 Minute to read
- Print
- DarkLight
Get Users In Group
- Updated on 08 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 Get Users In Group step will retrieve all of the Okta user accounts within a specified Okta group.
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 | Name of the Okta group with desired users | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | List of all Okta users within the specified group | OktaUser |
Common Errors
Exception invoking method GetUsersInGroup 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 Get Users In Group 1[GetUsersInGroup] in flow [Okta Test]: Exception invoking method GetUsersInGroup on class OktaGroupManagementMethods
---> DecisionsFramework.LoggedException: Exception invoking method GetUsersInGroup on class OktaGroupManagementMethods
---> System.ArgumentException: Your Okta URL must start with https. Current value: trial-9064649.okta.com/. You can copy your domain from the Okta Developer Console. Follow these instructions to find it: https://bit.ly/finding-okta-domain (Parameter 'OktaDomain'
at Okta.Sdk.Internal.OktaClientConfigurationValidator.Validate(OktaClientConfiguration configuration
at Okta.Sdk.OktaClient..ctor(OktaClientConfiguration apiClientConfiguration, ILogger logger, ISerializer serializer
at Decisions.Okta.OktaUtils.GetOktaClient(
at Decisions.Okta.OktaUtils.GetSdkGroupByName(String groupName
at Decisions.Okta.OktaGroupManagementMethods.GetUsersInGroup(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
Was this article helpful?