Create User

Create a new user in Okta. This action commonly follows an event like User is Added to Application Membership.

Unless otherwise indicated, field types are text.

Options

  • without Credentials

  • with Recovery Question

  • with Password

  • with Password & Recovery Questions

  • with Authentication Provider

  • in Group

Note: When you use a Group ID that corresponds to the default Everyone group in your Okta org, a 501 Not Implemented error occurs. This is expected behavior. All users within an Okta org are automatically added to the default Everyone group.

See Create User for more information on creating users in Okta.

Input

Input fields vary by option but will always include the mandatory Okta profile attributes: Username, First Name, Last Name, and Primary Email. Required fields are indicated by a red asterisk.

  • Profile

    • Username: username of the Okta user, in email address format

    • First Name: first name of the Okta user

    • Last Name: last name of the Okta user

    • Primary email: primary email address of the Okta user

  • Credentials

    • Question: password recovery question (must be specified if Answer is specified)

    • Answer: answer to the password recovery question (must be specified if Question is specified)

    • Password: password that meets minimum criteria (see documentation)

    • Provider Name: name of the identity provider. Note that you must specify the directory instance name for  ACTIVE_DIRECTORY or LDAP providers.

    • Provider Type (drop-down list): identity provider type

  • Activate

    • Activate (boolean): user is activated upon creation (see documentation)

Output

  • Results

    • Raw Body (object): raw payload returned from the Okta API

    • ID: ID of the user created in Okta

    • Status: current status of the user (STAGED, PROVISIONED, ACTIVE, RECOVERY, LOCKED_OUT, PASSWORD_EXPIRED, SUSPENDED, or DEPROVISIONED)

    • Created (date): timestamp when the user was created

    • Activated (boolean): timestamp when transition to ACTIVE status completed

    • Status Changed (date): date that the user's status changed

    • Last Login (date): timestamp of the user's last login date

    • Last Updated (date): timestamp of the last user update

    • Password Changed (date): timestamp when password last changed