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
title: Create a Lifecycle Workflow- Azure AD (preview)
3
-
description: This article guides a user to creating a workflow using Lifecycle Workflows
2
+
title: Create a lifecycle workflow (preview) - Azure AD
3
+
description: This article guides you in creating a lifecycle workflow.
4
4
author: OWinfreyATL
5
5
ms.author: owinfrey
6
6
manager: amycolannino
@@ -12,61 +12,68 @@ ms.subservice: compliance
12
12
ms.custom: template-how-to
13
13
---
14
14
15
-
# Create a Lifecycle workflow (Preview)
16
-
Lifecycle Workflows allows for tasks associated with the lifecycle process to be run automatically for users as they move through their life cycle in your organization. Workflows are made up of:
17
-
- tasks - Actions taken when a workflow is triggered.
18
-
- execution conditions - Define the who and when of a workflow. That is, who (scope) should this workflow run against, and when (trigger) should it run.
15
+
# Create a lifecycle workflow (preview)
19
16
20
-
Workflows can be created and customized for common scenarios using templates, or you can build a template from scratch without using a template. Currently if you use the Azure portal, a created workflow must be based off a template. If you wish to create a workflow without using a template, you must create it using Microsoft Graph.
17
+
Lifecycle workflows (preview) allow for tasks associated with the lifecycle process to be run automatically for users as they move through their lifecycle in your organization. Workflows consist of:
18
+
19
+
-**Tasks**: Actions taken when a workflow is triggered.
20
+
-**Execution conditions**: The who and when of a workflow. These conditions define which users (scope) this workflow should run against, and when (trigger) the workflow should run.
21
+
22
+
You can create and customize workflows for common scenarios by using templates, or you can build a workflow from scratch without using a template. Currently, if you use the Azure portal, any workflow that you create must be based on a template. If you want to create a workflow without using a template, use Microsoft Graph.
21
23
22
24
## Prerequisites
23
25
24
-
The Lifecycle Workflows preview requires Azure AD Premium P2. For more information, see: [License requirements](what-are-lifecycle-workflows.md#license-requirements).
26
+
The preview of lifecycle workflows requires Azure Active Directory (Azure AD) Premium P2. For more information, see [License requirements](what-are-lifecycle-workflows.md#license-requirements).
27
+
28
+
## Create a lifecycle workflow by using a template in the Azure portal
25
29
26
-
## Create a Lifecycle workflow using a template in the Azure portal
30
+
If you're using the Azure portal to create a workflow, you can customize existing templates to meet your organization's needs. These templates include one for pre-hire common scenarios.
27
31
28
-
If you are using the Azure portal to create a workflow, you can customize existing templates to meet your organization's needs. This means you can customize the pre-hire common scenario template. To create a workflow based on one of these templates using the Azure portal do the following steps:
32
+
To create a workflow based on a template:
29
33
30
34
1. Sign in to the [Azure portal](https://portal.azure.com).
31
35
32
-
1. Select **Azure Active Directory**and then select**Identity Governance**.
36
+
1. Select **Azure Active Directory**>**Identity Governance**.
33
37
34
-
1.In the left menu, select **Lifecycle Workflows (Preview)**.
38
+
1.On the left menu, select **Lifecycle Workflows (Preview)**.
35
39
36
-
1.select**Workflows (Preview)**
40
+
1.Select**Workflows (Preview)**.
37
41
38
-
1. On the workflows screen, select the workflow template that you want to use.
39
-
:::image type="content" source="media/create-lifecycle-workflow/template-list.png" alt-text="Screenshot of a list of lifecycle workflows templates." lightbox="media/create-lifecycle-workflow/template-list.png":::
40
-
1. Enter a unique display name and description for the workflow and select **Next**.
41
-
:::image type="content" source="media/create-lifecycle-workflow/template-basics.png" alt-text="Screenshot of workflow template basic information.":::
42
+
1. On the **Choose a workflow** page, select the workflow template that you want to use.
42
43
43
-
1. On the **configure scope** page select the **Trigger type** and execution conditions to be used for this workflow. For more information on what can be configured, see: [Configure scope](understanding-lifecycle-workflows.md#configure-scope).
44
+
:::image type="content" source="media/create-lifecycle-workflow/template-list.png" alt-text="Screenshot of a list of lifecycle workflow templates." lightbox="media/create-lifecycle-workflow/template-list.png":::
45
+
1. On the **Basics** tab, enter a unique display name and description for the workflow, and then select **Next**.
44
46
45
-
1. Under rules, select the **Property**, **Operator**, and give it a **value**. The following picture gives an example of a rule being set up for a sales department. For a full list of user properties supported by Lifecycle Workflows, see [Supported user properties and query parameters](/graph/api/resources/identitygovernance-rulebasedsubjectset?view=graph-rest-beta&preserve-view=true#supported-user-properties-and-query-parameters)
47
+
:::image type="content" source="media/create-lifecycle-workflow/template-basics.png" alt-text="Screenshot of basic information about a workflow template.":::
1. On the **Configure scope** tab, select the trigger type and execution conditions to be used for this workflow. For more information on what you can configure, see [Configure scope](understanding-lifecycle-workflows.md#configure-scope).
48
50
49
-
1. To view your rule syntax, select the **View rule syntax** button. You can copy and paste multiple user property rules on this screen. For more detailed information on which properties that can be included see: [User Properties](/graph/aad-advanced-queries?tabs=http#user-properties). When you are finished adding rules, select **Next**.
50
-
:::image type="content" source="media/create-lifecycle-workflow/template-syntax.png" alt-text="Screenshot of workflow rule syntax.":::
51
+
1. Under **Rule**, enter values for **Property**, **Operator**, and **Value**. The following screenshot gives an example of a rule being set up for a sales department. For a full list of user properties that lifecycle workflows support, see [Supported user properties and query parameters](/graph/api/resources/identitygovernance-rulebasedsubjectset?view=graph-rest-beta&preserve-view=true#supported-user-properties-and-query-parameters).
51
52
52
-
1. On the **Review tasks** page you can add a task to the template by selecting **Add task**. To enable an existing task on the list, select **enable**. You're also able to disable a task by selecting **disable**. To remove a task from the template, select **Remove** on the selected task. When you are finished with tasks for your workflow, select **Next**.
53
+
:::image type="content" source="media/create-lifecycle-workflow/template-scope.png" alt-text="Screenshot of scope configuration options for a lifecycle workflow template.":::
53
54
54
-
:::image type="content" source="media/create-lifecycle-workflow/template-tasks.png" alt-text="Screenshot of adding tasks to templates.":::
55
+
1. To view your rule syntax, select the **View rule syntax** button. You can copy and paste multiple user property rules on the panel that appears. For more information on which properties you can include, see [User properties](/graph/aad-advanced-queries?tabs=http#user-properties). When you finish adding rules, select **Next**.
55
56
56
-
1. On the **Review+create** page you are able to review the workflow's settings. You can also choose whether or not to enable the schedule for the workflow. Select **Create** to create the workflow.
57
+
:::image type="content" source="media/create-lifecycle-workflow/template-syntax.png" alt-text="Screenshot of workflow rule syntax.":::
58
+
59
+
1. On the **Review tasks** tab, you can add a task to the template by selecting **Add task**. To enable an existing task on the list, select **Enable**. To disable a task, select **Disable**. To remove a task from the template, select **Remove**.
57
60
58
-
:::image type="content" source="media/create-lifecycle-workflow/template-review.png" alt-text="Screenshot of reviewing and creating a template.":::
61
+
When you're finished with tasks for your workflow, select **Next: Review and create**.
62
+
63
+
:::image type="content" source="media/create-lifecycle-workflow/template-tasks.png" alt-text="Screenshot of adding tasks to templates.":::
59
64
65
+
1. On the **Review and create** tab, review the workflow's settings. You can also choose whether or not to enable the schedule for the workflow. Select **Create** to create the workflow.
60
66
67
+
:::image type="content" source="media/create-lifecycle-workflow/template-review.png" alt-text="Screenshot of reviewing and creating a workflow.":::
61
68
62
69
> [!IMPORTANT]
63
-
> By default, a newly created workflow is disabled to allow for the testing of it first on smaller audiences. For more information about testing workflows before rolling them out to many users, see: [run an on-demand workflow](on-demand-workflow.md).
70
+
> By default, a newly created workflow is disabled to allow for the testing of it first on smaller audiences. For more information about testing workflows before rolling them out to many users, see[Run an on-demand workflow](on-demand-workflow.md).
64
71
65
-
## Create a workflow using Microsoft Graph
72
+
## Create a lifecycle workflow by using Microsoft Graph
66
73
67
-
To create a workflow using Microsoft Graph API, see [Create workflow (lifecycle workflow)](/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows)
74
+
To create a lifecycle workflow by using the Microsoft Graph API, see [Create workflow](/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows).
68
75
69
76
## Next steps
70
77
71
78
-[Manage a workflow's properties](manage-workflow-properties.md)
description: Describes how to delete a Lifecycle Workflow using.
2
+
title: Delete a lifecycle workflow
3
+
description: Learn how to delete a lifecycle workflow.
4
4
services: active-directory
5
5
author: owinfreyATL
6
6
manager: amycolannino
@@ -14,71 +14,68 @@ ms.reviewer: krbain
14
14
ms.collection: M365-identity-device-management
15
15
---
16
16
17
-
# Delete a Lifecycle workflow (Preview)
17
+
# Delete a lifecycle workflow (preview)
18
18
19
-
You can remove workflows that are no longer needed. Deleting these workflows allows you to make sure your lifecycle strategy is up to date. When a workflow is deleted, it enters a soft delete state. During this period, it's still able to be viewed within the deleted workflows list, and can be restored if needed. 30 days after a workflow enters a soft delete state it will be permanently removed. If you don't wish to wait 30 days for a workflow to permanently delete you can always manually delete it yourself.
19
+
You can remove workflows that you no longer need. Deleting these workflows helps keep your lifecycle strategy up to date.
20
+
21
+
When a workflow is deleted, it enters a soft-delete state. During this period, you can still view it in the list of deleted workflows and restore it if needed. A workflow is permanently removed 30 days after it enters a soft-delete state. If you don't want to wait 30 days for a workflow to be permanently deleted, you can manually delete it.
20
22
21
23
## Prerequisites
22
24
23
-
The Lifecycle Workflows preview requires Azure AD Premium P2. For more information, see:[License requirements](what-are-lifecycle-workflows.md#license-requirements).
25
+
The preview of lifecycle workflows requires Azure Active Directory (Azure AD) Premium P2. For more information, see [License requirements](what-are-lifecycle-workflows.md#license-requirements).
24
26
25
-
## Delete a workflow using the Azure portal
27
+
## Delete a workflow by using the Azure portal
26
28
27
29
1. Sign in to the [Azure portal](https://portal.azure.com).
28
30
29
-
1. Type in **Identity Governance** on the search bar near the top of the page and select it.
30
-
31
-
1. In the left menu, select **Lifecycle Workflows (Preview)**.
31
+
1. On the search bar near the top of the page, enter **Identity Governance**. Then select **Identity Governance** in the results.
32
32
33
-
1. select **Workflows (Preview)**.
33
+
1.On the left menu, select **Lifecycle Workflows (Preview)**.
34
34
35
-
1.On the workflows screen, select the workflow you want to delete.
35
+
1.Select **Workflows (Preview)**.
36
36
37
-
:::image type="content" source="media/delete-lifecycle-workflow/delete-button.png" alt-text="Screenshot of list of Workflows to delete.":::
37
+
1. On the **Workflows** page, select the workflow that you want to delete. Then select **Delete**.
38
38
39
-
1. With the workflow highlighted, select **Delete**.
39
+
:::image type="content" source="media/delete-lifecycle-workflow/delete-button.png" alt-text="Screenshot of a list of workflows with one selected, along with the Delete button.":::
40
40
41
-
1. Confirm you want to delete the selected workflow.
42
-
43
-
:::image type="content" source="media/delete-lifecycle-workflow/delete-workflow.png" alt-text="Screenshot of confirming to delete a workflow.":::
41
+
1. Confirm that you want to delete the workflow by selecting the **Delete** button.
44
42
45
-
## View deleted workflows
43
+
:::image type="content" source="media/delete-lifecycle-workflow/delete-workflow.png" alt-text="Screenshot of confirming the deletion of a workflow.":::
46
44
47
-
After deleting workflows, you can view them on the **Deleted Workflows (Preview)** page.
45
+
## View deleted workflows in the Azure portal
48
46
47
+
After you delete workflows, you can view them on the **Deleted workflows** page.
49
48
50
-
1. On the left of the screen, select **Deleted Workflows (Preview)**.
49
+
1. On the left pane, select **Deleted workflows (Preview)**.
51
50
52
-
1. On this page, you'll see a list of deleted workflows, a description of the workflow, what date it was deleted, and its permanent delete date. By default the permanent delete date for a workflow is always 30 days after it was originally deleted.
51
+
1. On the **Deleted workflows**page, check the list of deleted workflows. Each workflow has a description, the date of deletion, and a permanent delete date. By default, the permanent delete date for a workflow is 30 days after it was originally deleted.
53
52
54
-
:::image type="content" source="media/delete-lifecycle-workflow/deleted-list.png" alt-text="Screenshot of a list of deleted workflows.":::
55
-
56
-
1. To restore a deleted workflow, select the workflow you want to restore and select **Restore workflow**.
53
+
:::image type="content" source="media/delete-lifecycle-workflow/deleted-list.png" alt-text="Screenshot of a list of deleted workflows.":::
57
54
58
-
1. To permanently delete a workflow immediately, you select the workflow you want to delete from the list, and select **Delete permanently**.
55
+
1. To restore a deleted workflow, select it and then select **Restore workflow**.
59
56
57
+
To permanently delete a workflow immediately, select it and then select **Delete permanently**.
60
58
61
-
59
+
## Delete a workflow by using Microsoft Graph
62
60
63
-
## Delete a workflow using Microsoft Graph
61
+
To delete a workflow by using an API via Microsoft Graph, see [Delete a lifecycle workflow](/graph/api/identitygovernance-workflow-delete?view=graph-rest-beta&preserve-view=true).
64
62
65
-
To delete a workflow using API via Microsoft Graph, see: [Delete workflow (lifecycle workflow)](/graph/api/identitygovernance-workflow-delete?view=graph-rest-beta&preserve-view=true).
63
+
## View deleted workflows by using Microsoft Graph
66
64
67
-
## View deleted workflows using Microsoft Graph
65
+
To view a list of deleted workflows by using an API via Microsoft Graph, see [List deleted workflows](/graph/api/identitygovernance-lifecycleworkflowscontainer-list-deleteditems).
68
66
69
-
To View a list of deleted workflows using API via Microsoft Graph, see: [List deleted workflows](/graph/api/identitygovernance-lifecycleworkflowscontainer-list-deleteditems).
67
+
## Permanently delete a workflow by using Microsoft Graph
70
68
71
-
## Permanently delete a workflow using Microsoft Graph
69
+
To permanently delete a workflow by using an API via Microsoft Graph, see [Permanently delete a deleted workflow](/graph/api/identitygovernance-deleteditemcontainer-delete).
72
70
73
-
To permanently delete a workflow using API via Microsoft Graph, see: [Permanently delete a deleted workflow](/graph/api/identitygovernance-deleteditemcontainer-delete)
71
+
## Restore a deleted workflow by using Microsoft Graph
74
72
75
-
## Restore deleted workflows using Microsoft Graph
73
+
To restore a deleted workflow by using an API via Microsoft Graph, see [Restore a deleted workflow](/graph/api/identitygovernance-workflow-restore).
76
74
77
-
To restore a deleted workflow using API via Microsoft Graph, see: [Restore a deleted workflow](/graph/api/identitygovernance-workflow-restore)
78
75
> [!NOTE]
79
-
> Permanently deleted workflows are not able to be restored.
76
+
> You can't restore permanently deleted workflows.
80
77
81
78
## Next steps
82
79
83
-
-[What are Lifecycle Workflows?](what-are-lifecycle-workflows.md)
0 commit comments