<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7UmBSAVOkta Classic EngineIntegrationsAnswered2024-04-17T09:36:40.000Z2016-11-08T18:21:28.000Z2018-02-23T20:13:05.000Z
powershell error

When using the powershell module I receive this message:

 

Cannot validate argument on parameter 'oOrg'. The Org:prod is not defined in the Okta_org.ps1 file

 

However my Okta_org.ps1 file looks like this:

<# Okta_org.ps1 #>

# Verbose will print various informative messages

[Boolean]$oktaVerbose = $true

# define the default Okta Org you want to use, useful if you have more than one.

[String]$oktaDefOrg = "prod"

 

[Hashtable]$oktaOrgs = @{

                    prod = [Hashtable]@{

                            baseUrl  = [String]"https://blanked.okta.com"

                            secToken = [String]"hex blanked"

                            enablePagination = [boolean]$true

                            pageSize = [int]500

                           }

                    }

 

Did I miss something? (Probably did, I always do)


This question is closed.
Loading
powershell error