Get All Users
  • 05 May 2023
  • 1 Minute to read
  • Dark
    Light

Get All Users

  • Dark
    Light

Article summary

Step Details
Introduced in Version4.2.0
Last Modified in Version7.1.2
LocationIntegration > Okta

The Get All Users step retrieves a list of all available Okta users.

Prerequisites 

This step requires the Okta module to be installed before it will be available in the toolbox. 


Properties

Outputs

PropertyDescriptionData Type
OutputList of all Okta usersOktaUser


Common Errors

Exception invoking method GetAllUsers on class

This error occurs if the Okta module is not properly set up.

To correct this, check your Okta module settings.

Exception Message:

Name: Error running step Get All Users 1[GetAllUsers] in flow [Okta Test]: Exception invoking method GetAllUsers on class OktaUserManagementMethods                 Exception Message: Error running step Get All Users 1[GetAllUsers] in flow [Okta Test]: Exception invoking method GetAllUsers on class OktaUserManagementMethods                                  Input Values: -- No Data --                                  Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get All Users 1[GetAllUsers] in flow [Okta Test]: Exception invoking method GetAllUsers on class OktaUserManagementMethods 
 ---> DecisionsFramework.LoggedException: Exception invoking method GetAllUsers on class OktaUserManagementMethods 
 ---> 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.OktaUserManagementMethods.GetUsersClient() 
   at Decisions.Okta.OktaUserManagementMethods.GetAllSdkUsers() 
   at Decisions.Okta.OktaUserManagementMethods.GetAllUsers() 
   at InvokeStub_OktaUserManagementMethods.GetAllUsers(Object, Object, IntPtr*) 
   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


Was this article helpful?