Skip to content

Getting an error when running the script #5

Description

@deejbeer

Any idea what the error here is? I can't figure out what it means.

At C:\Program Files\WindowsPowerShell\Modules\Okta\Okta_org.ps1:13 char:25
+                         }
+                         ~
Unexpected token '}' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

oktaGetActiveApps : Cannot validate argument on parameter 'oOrg'. The character length (0) of the argument is too
short. Specify an argument with a length that is greater than or equal to "1", and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\Okta\ApplicationReport.ps1:47 char:37
+     $apps = oktaGetActiveApps -oOrg $oOrg
+                                     ~~~~~
    + CategoryInfo          : InvalidData: (:) [oktaGetActiveApps], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,oktaGetActiveApps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions