You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 778ca06
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Document identity-verified onboarding tasks in Microsoft Graph beta (#29888)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Tim Larson <50213291+tilarso@users.noreply.github.com>
Copilot-Session: abf371ee-e024-4b80-953e-20596dd6d7ab
Copy file name to clipboardExpand all lines: changelog/Microsoft.AAD.LCM.json
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,31 @@
1
1
{
2
2
"changelog": [
3
+
{
4
+
"ChangeList": [
5
+
{
6
+
"Id": "61df0a88-0a76-465a-80e5-dbd62f6585f6",
7
+
"ApiChange": "Resource",
8
+
"ChangedApiName": "taskDefinition",
9
+
"ChangeType": "Change",
10
+
"Description": "Added three predefined tasks to the Lifecycle Workflows [taskDefinition](https://learn.microsoft.com/en-us/graph/api/resources/identitygovernance-taskdefinition?view=graph-rest-beta) catalog: Select verification profile for identity verification (Preview), Select verification for Verified ID presentation (Preview), and Send manager verification status email (Preview). For required arguments, recipient defaults, and examples, see [Configure identity-verification onboarding tasks](https://learn.microsoft.com/en-us/graph/identitygovernance-lifecycleworkflows-task-arguments#configure-identity-verification-onboarding-tasks-beta).",
11
+
"Target": "taskDefinition"
12
+
},
13
+
{
14
+
"Id": "61df0a88-0a76-465a-80e5-dbd62f6585f6",
15
+
"ApiChange": "Resource",
16
+
"ChangedApiName": "workflowTemplate",
17
+
"ChangeType": "Change",
18
+
"Description": "Added two predefined Joiner templates to the Lifecycle Workflows [workflowTemplate](https://learn.microsoft.com/en-us/graph/api/resources/identitygovernance-workflowtemplate?view=graph-rest-beta) catalog: Pre-hire identity verification initiation (Preview) and New Hire employee onboarding with identity verification (Preview).",
Copy file name to clipboardExpand all lines: concepts/identitygovernance-lifecycleworkflows-task-arguments.md
+115-3Lines changed: 115 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
---
2
2
title: Configure Arguments for Built-In Lifecycle Workflow Tasks
3
3
description: Learn how to configure arguments for built-in Lifecycle Workflow tasks in Microsoft Graph to automate user lifecycle processes.
4
-
author: FaithOmbongi
5
-
ms.author: ombongifaith
4
+
author: rogulati
5
+
ms.author: rogulati
6
6
ms.reviewer: alexander.filipin
7
7
ms.localizationpriority: medium
8
8
ms.subservice: entra-id-governance
9
9
ms.topic: how-to
10
10
ms.date: 04/25/2025
11
+
ai-usage: ai-assisted
12
+
ms.custom: msecd-doc-authoring-1026
11
13
#Customer intent: As a developer automating user lifecycle processes, I want to learn how to use Microsoft Graph to configure the arguments property of built-in tasks in Lifecycle Workflows, so that I can automate basic lifecycle processes for my users.
12
14
13
15
---
@@ -16,7 +18,7 @@ ms.date: 04/25/2025
16
18
17
19
Microsoft Graph Lifecycle Workflows APIs let you automate user lifecycle processes at the joiner, leaver, and mover levels.
18
20
19
-
Core to the workflows are [tasks](/graph/api/resources/identitygovernance-task) that represent specific actions that run automatically when a workflow is triggered. [30 built-in tasks](/graph/api/resources/identitygovernance-task) are available to support creating custom workflows. These tasks are configured on the **arguments** property of a task definition.
21
+
Core to the workflows are [tasks](/graph/api/resources/identitygovernance-task) that represent specific actions that run automatically when a workflow is triggered. [Built-in tasks](/graph/api/resources/identitygovernance-task) are available to support creating custom workflows. These tasks are configured on the **arguments** property of a task definition.
20
22
21
23
This article explains how to configure the arguments property for built-in tasks to streamline automation.
22
24
@@ -27,6 +29,9 @@ This article explains how to configure the arguments property for built-in tasks
27
29
| Send welcome email to new hire | 70b29d51-b59a-4773-9280-8841dfd3f2ea |**name**: `cc`<br/>**value**: A valid user ID (String) for the user you want to cc in the email.<br/><br/>**name**: `customSubject`<br/>**value**: A custom subject header for the email being sent.<br/><br/>**name**: `customBody`<br/>**value**: The body of the customized email.<br/><br/>**name**: `locale`<br/>**value**: Language value that overrides the email recipient's language settings. This argument doesn't customize the custom text of the email, and should be set in the same language as the custom text.<br/><br/>**name**: `to`<br/>**value**: `User`, `Managers`, `Sponsors`, or the string of a specific `userID`. If `Sponsors` is selected, you're not able to add another user in the `cc` argument. |
28
30
| Send onboarding reminder email | 3C860712-2D37-42A4-928F-5C93935D26A1 |**name**: `cc`<br/>**value**: A valid user ID (String) for the user you want to cc in the email.<br/><br/>**name**: `customSubject`<br/>**value**: A custom subject header for the email being sent.<br/><br/>**name**: `customBody`<br/>**value**: The body of the customized email.<br/><br/>**name**: `locale`<br/>**value**: Language value that overrides the email recipient's language settings. This argument doesn't customize the custom text of the email, and should be set in the same language as the custom text.<br/><br/>**name**: `to`<br/>**value**: `User`, `Managers`, `Sponsors`, or the string of a specific `userID`. If `Sponsors` is selected, you're not able to add another user in the `cc` argument. |
29
31
| Generate Temporary Access Pass and send via email to user's manager | 1b555e50-7f65-41d5-b514-5894a026d10d |**name**: `tapLifetimeMinutes`<br/>**value**: `10` up to `43000`<br/><br/>**name**: `tapIsUsableOnce`<br/>**value**: `true` or `false`<br/><br/>**name**: `to`<br/>**value**: `User`, `Managers`, `Sponsors`, or the string of a specific `userID`. If `Sponsors` is selected, you're not able to add another user in the `cc` argument.<br/><br/>**Prerequisites**:<br/><ol><li>The user must be assigned a manager.</li><li>The user's manager must have their mail enabled.</li><li>The temporary access pass (TAP) policy must be enabled in the tenant and the user enabled to use the TAP authentication method. For more information, see [temporaryAccessPassAuthenticationMethodConfiguration resource type](/graph/api/resources/temporaryaccesspassauthenticationmethodconfiguration).</li></ol> |
32
+
| Select verification profile for identity verification (Preview) | 9ed82537-8442-467a-8eef-9351fb7a1f9c | Available only in `/beta`. `verifiedIdProfileId` is required. For optional arguments and recipient defaults, see [Configure identity-verification onboarding tasks (beta)](#configure-identity-verification-onboarding-tasks-beta). |
33
+
| Select verification for Verified ID presentation (Preview) | 8314685b-de26-4c90-b086-bfa0e7a263f3 | Available only in `/beta`. `verifiedIdProfileId` is required. For optional arguments and recipient defaults, see [Configure identity-verification onboarding tasks (beta)](#configure-identity-verification-onboarding-tasks-beta). |
34
+
| Send manager verification status email (Preview) | c7a1f3e5-4b2d-4e8a-9f6c-3d5a7b1e2c4f | Available only in `/beta`. `verifiedIdProfileId` is required. For optional arguments and recipient defaults, see [Configure identity-verification onboarding tasks (beta)](#configure-identity-verification-onboarding-tasks-beta). |
30
35
| Add user to groups | 22085229-5809-45e8-97fd-270d28d66910 |**name**: `groupID`<br/>**value**: A valid group ID or a comma-separated list of groups to which the user is added as a member. For example, `"06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f"`. |
31
36
| Add user to teams | e440ed8d-25a1-4618-84ce-091ed5be5594 |**name**: `teamID`<br/>**value**: A valid group ID or a comma-separated list of teams to which the user is added as a member. For example, `"06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f"`. |
32
37
| Update user attributes (Preview) | 2c8f4a1b-7d3e-4f9c-8a5b-6e1d2c3f4a5b |**name**: `attributeUpdates`<br/>**value**: A JSON string specifying up to 10 user attributes to update or clear. The attributes can include built-in, on-premises extensions, directory extensions, and employee org data. |
@@ -669,6 +674,113 @@ This article explains how to configure the arguments property for built-in tasks
The three identity-verification onboarding tasks are Joiner tasks available only through the Microsoft Graph `/beta` endpoint, not `/v1.0`. Use an ID verification profile configured for onboarding.
Use [List task definitions](/graph/api/identitygovernance-lifecycleworkflowscontainer-list-taskdefinitions?view=graph-rest-beta&preserve-view=true) to retrieve the task definitions. Their task-definition **version** is `0`, which isn't a Microsoft Graph API version.
684
+
685
+
All three tasks support the following arguments. Argument values are strings.
686
+
687
+
| Argument | Required | Behavior |
688
+
|----------|----------|----------|
689
+
|`cc`| No | A user ID or comma-separated list of user IDs to copy on the email. If omitted, no CC recipients are added. |
690
+
|`customBody`| No | A custom email body. If omitted, the standard body is used. For the two verification-link tasks, a nonempty custom body must include `{{verificationLink}}`. |
691
+
|`customSubject`| No | A custom email subject. If omitted, the standard subject is used. |
692
+
|`locale`| No | A language value that overrides the recipient's language setting. If omitted, the notification service resolves the locale using recipient preferences. |
693
+
|`to`| No | The recipient selector. Supported values and defaults depend on the task, as described in the recipient table. |
694
+
|`verifiedIdProfileId`| Yes | The ID of the ID verification profile selected for the workflow. There's no default. The manager verification-status email task uses this ID to identify which profile's verification status to report. |
695
+
696
+
The `to` argument has the following task-specific behavior. Populate the user's **otherMails** property for verification-link delivery. For delivery to `Manager`, populate both the user's **manager** relationship and the manager's **mail** property.
697
+
698
+
| Task | Supported `to` values | Default when `to` is omitted |
| Select verification profile for identity verification (Preview) |`User/otherMails` only |`User/otherMails`|
701
+
| Select verification for Verified ID presentation (Preview) |`User/otherMails` only |`User/otherMails`|
702
+
| Send manager verification status email (Preview) |`User`, `Manager`, `Sponsors`, or a specific user's ID |`Manager`|
703
+
704
+
The following examples show task objects, not complete HTTP request bodies. Include the objects in the **tasks** collection when you [create a workflow](/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows?view=graph-rest-beta&preserve-view=true) with `POST https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows`. For an existing workflow, [create a new version](/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-beta&preserve-view=true) to change its task configuration.
705
+
706
+
Replace `<id-verification-profile-id>` in each example with the ID of the profile selected for the workflow.
707
+
708
+
### Send an identity-verification link
709
+
710
+
This task sends the user a link to complete identity verification with the selected profile. The example explicitly selects `User/otherMails` and includes the required verification-link placeholder in the custom body.
711
+
712
+
```json
713
+
{
714
+
"category": "joiner",
715
+
"continueOnError": false,
716
+
"displayName": "Select verification profile for identity verification (Preview)",
This task sends the user a link to present a Verified ID for the selected profile. The example omits `to`, so delivery defaults to `User/otherMails`. The custom body includes the required verification-link placeholder.
743
+
744
+
```json
745
+
{
746
+
"category": "joiner",
747
+
"continueOnError": false,
748
+
"displayName": "Select verification for Verified ID presentation (Preview)",
"value": "Present your Verified ID: {{verificationLink}}"
759
+
}
760
+
]
761
+
}
762
+
```
763
+
764
+
### Send a manager verification-status email
765
+
766
+
This task reports the verification status for the selected profile. The example supplies the required profile ID and omits all optional arguments. Delivery defaults to `Manager`, with no CC recipients and standard email content. The notification service resolves the locale using recipient preferences.
767
+
768
+
```json
769
+
{
770
+
"category": "joiner",
771
+
"continueOnError": false,
772
+
"displayName": "Send manager verification status email (Preview)",
Copy file name to clipboardExpand all lines: concepts/whats-new-overview.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,11 @@ For details about previous updates to Microsoft Graph, see [Microsoft Graph what
86
86
- Added the **instanceMode** property to the [agentIdentity](/graph/api/resources/agentidentity?view=graph-rest-beta&preserve-view=true) resource and the **instanceMode** enumeration to identify the single-instance or multi-instance topology.
87
87
- Devices now support soft-deletion and restoration. When a device is deleted, it's moved to the [deleted items container](/graph/api/resources/directory?view=graph-rest-beta&preserve-view=true) and can be restored within 30 days. After 30 days, it's permanently deleted.
88
88
89
+
### Identity and access | Governance
90
+
91
+
- Added three predefined tasks to the [Lifecycle Workflows task catalog](/graph/api/resources/identitygovernance-lifecycleworkflows-overview?view=graph-rest-beta&preserve-view=true) to send identity-verification links, request Verified ID presentation, and email verification status to a manager.
92
+
- Added the **Pre-hire identity verification initiation (Preview)** and **New Hire employee onboarding with identity verification (Preview)** Joiner templates to the [Lifecycle Workflows template catalog](/graph/api/resources/identitygovernance-workflowtemplate?view=graph-rest-beta&preserve-view=true).
93
+
89
94
### Identity and access | Identity and sign-in
90
95
91
96
- Added the `aiElevatedAccountRisk` member to the [riskDetail](/graph/api/resources/riskdetail?view=graph-rest-beta&preserve-view=true) enumeration to indicate that the user completed Microsoft-managed remediation to address their risk.
0 commit comments