<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
0D54z0000A4fOIjCQMOkta Classic EngineLifecycle ManagementAnswered2024-06-17T06:32:02.000Z2024-04-04T15:33:10.000Z2024-04-05T14:52:41.000Z

6ek3o (6ek3o) asked a question.

Customize Email Template when Activating a Staged User

When activating a Staged user, one who has set a password and verified their email but has NOT set up their MFA, the system sends an email with the title "Activate Account" from Okta. It contains the text "To verify your email address and activate your account, please click the following link". It contains a button labeled "Activate Account" as well.

 

This email is superfluous, as the account has already been activated, and the email has already been verified.

 

In addition to this, I can not find this email in the list of emails for customization.


  • TimL.58332 (Workflows)

    @6ek3o (6ek3o)​ 

     

    Staged users are "Created" but not "Activated". Those are two different steps with 2 different API calls.

     

    The first step as you mentioned is "Create user with password"

     

    https://developer.okta.com/docs/reference/api/users/#create-user-with-password

     

    The second is "Activate"

     

    https://developer.okta.com/docs/reference/api/users/#activate-user

     

    When you perform an Activate through the Admin UI it does not provide an option for the sendEmail parameter. The default of this parameter is "TRUE" meaning if not specified it will send an email.

     

    If you want to activate a user and not send an email you would want to activate them via an API call with the sendEmail parameter set to false.

     

    So for example in Okta Workflows you could create a Delegated flow to perform individual activations from the Admin UI of users with their email and/or OktaId as an input. It would not send out the automated activation email and you could instead craft your own custom email to send out if wanted.

     

    Welcome Tim to XYZ corp,

     

    Here are some resources to get your started.....

     

    link

    link

    link

     

    Thanks,

    Your friendly IT staff.

    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    @6ek3o (6ek3o)​ 

     

    Staged users are "Created" but not "Activated". Those are two different steps with 2 different API calls.

     

    The first step as you mentioned is "Create user with password"

     

    https://developer.okta.com/docs/reference/api/users/#create-user-with-password

     

    The second is "Activate"

     

    https://developer.okta.com/docs/reference/api/users/#activate-user

     

    When you perform an Activate through the Admin UI it does not provide an option for the sendEmail parameter. The default of this parameter is "TRUE" meaning if not specified it will send an email.

     

    If you want to activate a user and not send an email you would want to activate them via an API call with the sendEmail parameter set to false.

     

    So for example in Okta Workflows you could create a Delegated flow to perform individual activations from the Admin UI of users with their email and/or OktaId as an input. It would not send out the automated activation email and you could instead craft your own custom email to send out if wanted.

     

    Welcome Tim to XYZ corp,

     

    Here are some resources to get your started.....

     

    link

    link

    link

     

    Thanks,

    Your friendly IT staff.

    Expand Post
    Selected as Best

Loading
Customize Email Template when Activating a Staged User