|---------|---------|
|category | A read-only string that identifies the category or categories of the task. Automatically determined when the taskDefinitionID is chosen. |
|taskDefinitionId | A string referencing a taskDefinition that determines which task to run. |
|isEnabled | A boolean value that denotes whether the task is set to run or not. If set to “true" then the task runs. Defaults to true. |
|displayName | A unique string that identifies the task. |
|description | A string that describes the purpose of the task for administrative use. (Optional) |
|executionSequence | A read-only integer that states in what order the task runs in a workflow. |
Microsoft Entra allows you to use a [Temporary Access Pass (TAP)](..//identity/authentication/howto-authentication-temporary-access-pass.md) to set up password-less credentials for users. You can also use [Microsoft Entra self-service password reset](../identity/authentication/concept-sspr-howitworks.md) to set a regular password. With this task, Lifecycle workflows allow you to automatically generate a Temporary Access Pass (TAP), and have it sent to the new user's manager. You're also able to customize the email that is sent to the user's manager.
> [!NOTE]
> The user's employee hire date is used as the start time for the Temporary Access Pass. Please make sure that the TAP lifetime task setting and the [time portion of your user's hire date](how-to-lifecycle-workflow-sync-attributes.md#importance-of-time) are set appropriately so that the TAP is still valid when the user starts their first day. If the hire date at the time of workflow execution is already in the past, the current time is used as the start time.
With this task in the Microsoft Entra admin center, you're able to give the task a name and description. You must also set:
|displayName | GenerateTAPAndSendEmail (Customizable by user) |
|description | Generate Temporary Access Pass and send via email to user's manager (Customizable by user) |
|taskDefinitionId | 1b555e50-7f65-41d5-b514-5894a026d10d |
|arguments | Argument contains the name parameter "tapLifetimeInMinutes", which is the lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). The argument also contains the tapIsUsableOnce parameter, which determines whether the passcode is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. Additionally, the optional common email task parameters can be specified; if they aren't included, the default behavior takes effect. |
Example of usage within the workflow:
|---------|---------|
|category | A read-only string that identifies the category or categories of the task. Automatically determined when the taskDefinitionID is chosen. |
|taskDefinitionId | A string referencing a taskDefinition that determines which task to run. |
|isEnabled | A boolean value that denotes whether the task is set to run or not. If set to “*true"* then the task runs. Defaults to true. |
|displayName | A unique string that identifies the task. |
|description | A string that describes the purpose of the task for administrative use. (Optional) |
|executionSequence | A read-only integer that states in what order the task runs in a workflow. |
Microsoft Entra allows you to use a [Temporary Access Pass (TAP)](..//identity/authentication/howto-authentication-temporary-access-pass.md) to set up password-less credentials for users. You can also use [Microsoft Entra self-service password reset](../identity/authentication/concept-sspr-howitworks.md) to set a regular password. With this task, Lifecycle workflows allow you to automatically generate a Temporary Access Pass (TAP), and have it sent to the new user's manager. You're also able to customize the email that is sent to the user's manager.
> [!NOTE]
> The user's employee hire date is used as the start time for the Temporary Access Pass. Make sure that the TAP lifetime task setting and the [time portion of your user's hire date](how-to-lifecycle-workflow-sync-attributes.md#importance-of-time) are set appropriately so that the TAP is still valid when the user starts their first day. If the hire date at the time of workflow execution is already in the past, the current time is used as the start time.
With this task in the Microsoft Entra admin center, you're able to give the task a name and description. You must also set:
|displayName | GenerateTAPAndSendEmail (Customizable by user) |
|description | Generate Temporary Access Pass and send via email to user's manager (Customizable by user) |
|taskDefinitionId | 1b555e50-7f65-41d5-b514-5894a026d10d |
|arguments | Argument contains the name parameter "tapLifetimeInMinutes," which is the lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). The argument also contains the tapIsUsableOnce parameter, which determines whether the passcode is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. Additionally, the optional common email task parameters can be specified; if they aren't included, the default behavior takes effect. |
Example of usage within the workflow: