--- title: "Get Group By Name" slug: "get-group-by-name-okta" updated: 2023-05-05T18:04:15Z published: 2023-05-05T18:04:16Z canonical: "documentation.decisions.com/get-group-by-name-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. # Get Group By Name | Step Details | | --- | | **Introduced in Version** | 4.2.0 | | **Last Modified in Version** | 7.1.2 | | **Location** | Integration > Okta | The **Get Group By Name** step retrieves an Okta group according to its name in Okta. ### 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 | | --- | --- | --- | | Group Name | The name of the Okta group to be retrieved | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The named Okta group | OktaGroup | --- ## ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Get%20Group%20By%20Name(1).png) --- ## Common Errors ### **Exception invoking method GetGroupByName 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:** ```csharp Name: Error running step Get Group By Name 1[GetGroupByName] in flow [Okta Test]: Exception invoking method GetGroupByName on class OktaGroupManagementMethods Exception Message: Error running step Get Group By Name 1[GetGroupByName] in flow [Okta Test]: Exception invoking method GetGroupByName on class OktaGroupManagementMethods Input Values: -- No Data -- Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Group By Name 1[GetGroupByName] in flow [Okta Test]: Exception invoking method GetGroupByName on class OktaGroupManagementMethods ---> DecisionsFramework.LoggedException: Exception invoking method GetGroupByName 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.GetGroupByName(String groupName) at InvokeStub_OktaGroupManagementMethods.GetGroupByName(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 Okta Module](https://documentation.decisions.com/docs/installing-and-configuring-the-okta-module)