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
Lifecycle Workflows allow you to create workflows that can be triggered based on joiner, mover, or leaver scenarios. While Lifecycle Workflows provide several built-in tasks to automate common scenarios throughout the lifecycle of users, eventually you may reach the limits of these built-in tasks. With the extensibility feature, you'll be able to utilize the concept of custom task extensions to call-out to external systems as part of a workflow. By calling out to the external systems, you're able to accomplish things, which can extend the purpose of your workflows. When a user joins your organization you can have a workflow with a custom task extension that assigns a Teams number, or have a separate workflow that grants access to an email account for a manager when a user leaves. With the extensibility feature, Lifecycle Workflows currently support creating custom tasks extensions to call-out to [Azure Logic Apps](../../logic-apps/logic-apps-overview.md).
19
+
Lifecycle Workflows allow you to create workflows that can be triggered based on joiner, mover, or leaver scenarios. While Lifecycle Workflows provide several built-in tasks to automate common scenarios throughout the lifecycle of users, eventually you may reach the limits of these built-in tasks. With the extensibility feature, you're able to utilize the concept of custom task extensions to call-out to external systems as part of a workflow. By calling out to the external systems, you're able to accomplish things, which can extend the purpose of your workflows. When a user joins your organization you can have a workflow with a custom task extension that assigns a Teams number, or have a separate workflow that grants access to an email account for a manager when a user leaves. With the extensibility feature, Lifecycle Workflows currently support creating custom tasks extensions to call-out to [Azure Logic Apps](../../logic-apps/logic-apps-overview.md).
20
20
21
21
22
22
## Prerequisite Logic App roles required for integration with the custom task extension
@@ -34,13 +34,27 @@ The roles on the Azure Logic App, which allows it to be compatible with the cust
34
34
35
35
## Custom task extension deployment scenarios
36
36
37
-
When creating custom task extensions, the scenarios for how it will interact with Lifecycle Workflows can be one of two ways:
37
+
When creating custom task extensions, the scenarios for how it interacts with Lifecycle Workflows can be one of two ways:
38
38
39
39
:::image type="content" source="media/lifecycle-workflow-extensibility/task-extension-deployment-scenarios.png" alt-text="Screenshot of custom task deployment scenarios.":::
40
40
41
41
-**Launch and continue** - The Azure Logic App is started, and the following task execution immediately continues with no response expected from the Azure Logic App. This scenario is best suited if the Lifecycle workflow doesn't require any feedback (including status) from the Azure Logic App. With this scenario, as long as the workflow is started successfully, the workflow is viewed as a success.
42
-
-**Launch and wait** - The Azure Logic App is started, and the following task's execution waits on the response from the Logic App. You enter a time duration for how long the custom task extension should wait for a response from the Azure Logic App. If no response is received within a customer defined duration window, the task will be considered failed.
43
-
:::image type="content" source="media/lifecycle-workflow-extensibility/custom-task-launch-wait.png" alt-text="Screenshot of custom task launch and wait task choice.":::
42
+
-**Launch and wait** - The Azure Logic App is started, and the following task's execution waits on the response from the Logic App. You enter a time duration for how long the custom task extension should wait for a response from the Azure Logic App. If no response is received within a customer defined duration window, the task is considered failed.
43
+
:::image type="content" source="media/lifecycle-workflow-extensibility/custom-task-launch-wait.png" alt-text="Screenshot of custom task launch and wait task choice." lightbox="media/lifecycle-workflow-extensibility/custom-task-launch-wait.png":::
44
+
45
+
## Response authorization
46
+
47
+
When creating a custom task extension that waits for a response from the Logic App, you're able to define which applications can send a response
48
+
49
+
:::image type="content" source="media/lifecycle-workflow-extensibility/launch-wait-options.png" alt-text="Screenshot of custom task extension launch and wait options.":::
50
+
51
+
Response authorization can be utilized in one of the following ways:
52
+
53
+
-**System-assigned managed identity (Default)** - Enables and utilizes the Logic Apps system-assigned managed identity. For more information on this, see: [Authenticate access to Azure resources with managed identities in Azure Logic Apps](/azure/logic-apps/create-managed-service-identity)
54
+
-**No authorization** - Grants no authorization to the Logic App. You're responsible for assigning an application permission, or role assignment.
55
+
-**Existing application** - You can choose an existing application to respond.
Copy file name to clipboardExpand all lines: articles/active-directory/governance/trigger-custom-task.md
+15-30Lines changed: 15 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,51 +25,36 @@ Lifecycle Workflows can be used to trigger custom tasks via an extension to Azur
25
25
For more information about Lifecycle Workflows extensibility, see: [Workflow Extensibility](lifecycle-workflow-extensibility.md).
26
26
27
27
28
-
## Create a custom task extension with a new Azure Logic App
28
+
## Create a custom task extension using the Azure portal
29
29
30
-
To use a custom task extension in your workflow, first a custom task extension must be created to be linked with an Azure Logic App. You're able to create a Logic App at the same time you're creating a custom task extension. To do this, you'll complete these steps:
30
+
To use a custom task extension in your workflow, first a custom task extension must be created to be linked with an Azure Logic App. You're able to create a Logic App at the same time you're creating a custom task extension. To do this, you complete these steps:
31
31
32
32
1. Sign in to the [Azure portal](https://portal.azure.com).
33
33
34
34
1. Select **Azure Active Directory** and then select **Identity Governance**.
35
35
36
36
1. In the left menu, select **Lifecycle Workflows (Preview)**.
37
37
38
-
1.In the left menu, select **Workflows (Preview)**.
38
+
1.On the Lifecycle workflows screen, select **Custom task extension**.
39
39
40
-
1. On the workflows screen, select **Custom task extension**.
41
-
:::image type="content" source="media/trigger-custom-task/custom-task-extension-select.png" alt-text="Screenshot of selecting a custom task extension from a workflow overview page.":::
42
40
1. On the custom task extensions page, select **Create custom task extension**.
43
41
:::image type="content" source="media/trigger-custom-task/create-custom-task-extension.png" alt-text="Screenshot for creating a custom task extension selection.":::
44
42
1. On the basics page you, enter a unique display name and description for the custom task extension and select **Next**.
45
43
:::image type="content" source="media/trigger-custom-task/custom-task-extension-basics.png" alt-text="Screenshot of the basics section for creating a custom task extension.":::
46
-
1. On the **Task behavior** page, you specify how the custom task extension will behave after executing the Azure Logic Appand select **Next**.
44
+
1. On the **Task behavior** page, you specify how the custom task extension will behave after executing the Azure Logic App. If you choose **Launch and continue** you can immediately select **Next: Details**.
47
45
:::image type="content" source="media/trigger-custom-task/custom-task-extension-behavior.png" alt-text="Screenshot for choose task behavior for custom task extension.":::
48
-
> [!NOTE]
49
-
> For more information about custom task extension behavior, see: [Lifecycle Workflow extensibility](lifecycle-workflow-extensibility.md)
46
+
47
+
1. If you select **Launch and wait**, you're given an option of how long to wait for a response from the logic app before the task is considered a failure, and also options to set **Response authorization**. After choosing these options, you would be able to select **Next: Details**.
48
+
:::image type="content" source="media/trigger-custom-task/custom-task-extension-launch-wait.png" alt-text="Screenshot of launch and wait option for custom task extension." lightbox="media/trigger-custom-task/custom-task-extension-launch-wait.png":::
49
+
> [!NOTE]
50
+
> For more information about custom task extension behavior, see: [Lifecycle Workflow extensibility](lifecycle-workflow-extensibility.md)
50
51
1. On the **Logic App details** page, you select **Create new Logic App**, and specify the subscription and resource group where it will be located. You'll also give the new Azure Logic App a name.
51
52
:::image type="content" source="media/trigger-custom-task/custom-task-extension-new-logic-app.png" alt-text="screen showing to create new logic app for custom task extension.":::
52
-
1. If deployed successfully, you'll get confirmation on the **Logic App details** page immediately, and then you can select **Next**.
53
-
54
-
1. On the **Review** page, you can review the details of the custom task extension and the Azure Logic App you've created. Select **Create** if the details match what you desire for the custom task extension.
55
-
56
-
57
-
## Configure a custom task extension with an existing Azure Logic App
58
-
59
-
You can also link a custom task extension to an existing Azure Logic App. To do this, you'd complete the following steps:
60
-
61
-
> [!IMPORTANT]
62
-
> A Logic App must be configured to be compatible with the custom task extension. For more information, see [Configure a Logic App for Lifecycle Workflow use](configure-logic-app-lifecycle-workflows.md)
63
-
64
-
1. In the left menu, select **Lifecycle workflows (Preview)**.
65
-
66
-
1. In the left menu, select **Workflows (Preview)**.
67
-
68
-
1. On the workflows screen, select **custom task extension**.
53
+
> [!IMPORTANT]
54
+
> A Logic App must be configured to be compatible with the custom task extension. For more information, see [Configure a Logic App for Lifecycle Workflow use](configure-logic-app-lifecycle-workflows.md)
55
+
1. If deployed successfully, you get confirmation on the **Logic App details** page immediately, and then you can select **Next**.
69
56
70
-
1. On the **Logic App details** page, you select **Choose an existing Logic App**, and specify the subscription and resource group where the Azure Logic App is located and select **Next**.
71
-
:::image type="content" source="media/trigger-custom-task/custom-task-extension-existing-logic-app.png" alt-text="Screenshot for selecting an existing logic app with custom task extension.":::
72
-
1. You can Review information about the updated custom task extension and the existing Logic App linked to it. Select **Create** if the details match what you desire for the custom task extension.
57
+
1. On the **Review** page, you can review the details of the custom task extension and the Azure Logic App you've created. Select **Create** if the details match what you desire for the custom task extension.
73
58
74
59
75
60
## Add your custom task extension to a workflow
@@ -88,9 +73,9 @@ To Add a custom task extension to a workflow, you'd do the following steps:
88
73
89
74
1. On the tasks screen, select **Add task**.
90
75
91
-
1. In the **Select tasks**drop down, select **Run a Custom Task Extension**, and select **Add**.
76
+
1. In the **Select tasks**side menu, select **Run a Custom Task Extension**, and select **Add**.
92
77
93
-
1. On the custom task extension page, you can give the task a name and description. You can also choose from a list of configured custom task extensions to use.
78
+
1. On the custom task extension page, you can give the task a name and description. You also choose from a list of configured custom task extensions to use.
94
79
:::image type="content" source="media/trigger-custom-task/add-custom-task-extension.png" alt-text="Screenshot showing to add a custom task extension to workflow.":::
0 commit comments