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
Copy file name to clipboardExpand all lines: articles/active-directory/governance/check-workflow-execution-scope.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ ms.reviewer: krbain
14
14
ms.collection: M365-identity-device-management
15
15
---
16
16
17
-
# Check execution user scope of a workflow
17
+
# Check execution user scope of a workflow
18
+
18
19
19
20
Workflow scheduling will automatically process the workflow for users meeting the workflows execution conditions. This article walks you through the steps to check the users who fall into the execution scope of a workflow. For more information about execution conditions, see: [workflow basics](../governance/understanding-lifecycle-workflows.md#workflow-basics).
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. For example, 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).
@@ -67,10 +67,10 @@ The response can be authorized in one of the following ways:
67
67
The high-level steps for the Azure Logic Apps integration are as follows:
68
68
69
69
> [!NOTE]
70
-
> Creating a custom task extension and logic app through the Azure portal will automate most of these steps. For a guide on creating a custom task extension this way, see: [Trigger Logic Apps based on custom task extensions (Preview)](trigger-custom-task.md).
70
+
> Creating a custom task extension and logic app through the Azure portal will automate most of these steps. For a guide on creating a custom task extension this way, see: [Trigger Logic Apps based on custom task extensions](trigger-custom-task.md).
71
71
72
72
-**Create a consumption-based Azure Logic App**: A consumption-based Azure Logic App that is used to be called to from the custom task extension.
73
-
-**Configure the Azure Logic App so its compatible with Lifecycle workflows**: Configuring the consumption-based Azure Logic App so that it can be used with the custom task extension. For more information, see: [Configure a Logic App for Lifecycle Workflow use (Preview)](configure-logic-app-lifecycle-workflows.md)
73
+
-**Configure the Azure Logic App so its compatible with Lifecycle workflows**: Configuring the consumption-based Azure Logic App so that it can be used with the custom task extension. For more information, see: [Configure a Logic App for Lifecycle Workflow use](configure-logic-app-lifecycle-workflows.md)
74
74
-**Build your custom business logic within your Azure Logic App**: Set up your business logic within the Azure Logic App using Logic App designer.
75
75
-**Create a lifecycle workflow customTaskExtension which holds necessary information about the Azure Logic App**: Creating a custom task extension that references the configured Azure Logic App.
76
76
-**Update or create a Lifecycle workflow with the “Run a custom task extension” task, referencing your created customTaskExtension**: Adding the newly created custom task extension to a new workflow, or updating the information to an existing workflow.
Copy file name to clipboardExpand all lines: articles/active-directory/governance/lifecycle-workflow-tasks.md
+183-3Lines changed: 183 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,6 +253,96 @@ For Microsoft Graph, the parameters for the **Generate Temporary Access Pass and
253
253
254
254
```
255
255
256
+
### Send email to notify manager of user move
257
+
258
+
When a user moves within your organization Lifecycle Workflows allow you to send an email to the users manager notifying them of the move. You're also able to customize the email that is sent to the user's manager.
259
+
260
+
:::image type="content" source="media/lifecycle-workflow-task/notify-user-move-task.png" alt-text="Screenshot of the notify manager of user move task.":::
261
+
262
+
The Azure AD prerequisite to run the **Send email to notify manager of user move** task are:
263
+
264
+
- A populated manager attribute for the user.
265
+
- A populated manager's mail attribute for the user.
266
+
267
+
For Microsoft Graph the parameters for the **Send email to notify manager of user move** task are as follows:
268
+
269
+
|Parameter |Definition |
270
+
|---------|---------|
271
+
|category | Mover |
272
+
|displayName | Send email to notify manager of user move (Customizable by user) |
273
+
|description | Send email to notify user’s manager of user move (Customizable by user) |
"value": "Reminder that {{userDisplayName}} has moved."
292
+
},
293
+
{
294
+
"name": "customBody",
295
+
"value": "Hello {{managerDisplayName}}. \nThis is a reminder that {{userDisplayName}} has moved roles in the organization."
296
+
},
297
+
{
298
+
"name": "locale",
299
+
"value": "en-us"
300
+
},
301
+
]
302
+
}
303
+
304
+
```
305
+
306
+
### Request user access package assignment
307
+
308
+
Allows you to request an access package assignment for users. Access packages are bundles of resources, with specific access, that a user would need to accomplish tasks. For more information on access packages, see [What are access packages and what resources can I manage with them?](entitlement-management-overview.md#what-are-access-packages-and-what-resources-can-i-manage-with-them).
309
+
310
+
You're able to customize the task name and task description for this task. You must also select an access package that is provided to the user, and the access package policy.
311
+
:::image type="content" source="media/lifecycle-workflow-task/request-user-access-package-assignment-task.png" alt-text="Screenshot of the request user access package assignment task.":::
312
+
313
+
For Microsoft Graph, the parameters for the **Request user access package assignment** task are as follows:
314
+
315
+
|Parameter |Definition |
316
+
|---------|---------|
317
+
|category | joiner |
318
+
|displayName | Request user access package assignment (Customizable by user) |
319
+
|description | Request user assignment to selected access package (Customizable by user) |
|arguments | Argument contains two name parameter that is the "assignmentPolicyId", and "accessPackageId". |
322
+
323
+
324
+
```Example for usage within the workflow
325
+
{
326
+
"category": "joiner",
327
+
"description": "Request user assignment to selected access package",
328
+
"displayName": "Request user access package assignment",
329
+
"id": "c1ec1e76-f374-4375-aaa6-0bb6bd4c60be",
330
+
"parameters": [
331
+
{
332
+
"name": "assignmentPolicyId",
333
+
"values": [],
334
+
"valueType": "string"
335
+
},
336
+
{
337
+
"name": "accessPackageId",
338
+
"values": [],
339
+
"valueType": "string"
340
+
}
341
+
]
342
+
}
343
+
344
+
```
345
+
256
346
### Add user to groups
257
347
258
348
@@ -571,6 +661,96 @@ For Microsoft Graph, the parameters for the **Remove users from all teams** task
571
661
572
662
```
573
663
664
+
### Remove access package assignment for user
665
+
666
+
Allows you to remove an access package assignment from users. Access packages are bundles of resources, with specific access, that a user would need to accomplish tasks. For more information on access packages, see [What are access packages and what resources can I manage with them?](entitlement-management-overview.md#what-are-access-packages-and-what-resources-can-i-manage-with-them).
667
+
668
+
You're able to customize the task name and description for this task in the Azure portal. You must also select the access package which you want to unassign from users.
669
+
:::image type="content" source="media/lifecycle-workflow-task/remove-access-package-assignment-user-task.png" alt-text="Screenshot of the remove access package assignment for user task.":::
670
+
671
+
For Microsoft Graph, the parameters for the **Remove access package assignment for user** task are as follows:
672
+
673
+
|Parameter |Definition |
674
+
|---------|---------|
675
+
|category | leaver |
676
+
|displayName | Remove access package assignment for user (Customizable by user) |
677
+
|description | Remove user assignment of selected access package (Customizable by user) |
|arguments | Argument contains a name parameter that is the "accessPackageId". |
680
+
681
+
682
+
```Example for usage within the workflow
683
+
{
684
+
"category": "leaver",
685
+
"description": "Remove user assignment of selected access package",
686
+
"displayName": "Remove access package assignment for user",
687
+
"id": "4a0b64f2-c7ec-46ba-b117-18f262946c50",
688
+
"parameters": [
689
+
{
690
+
"name": "accessPackageId",
691
+
"values": [],
692
+
"valueType": "string"
693
+
}
694
+
]
695
+
}
696
+
```
697
+
698
+
### Remove all access package assignments for user
699
+
700
+
Allows you to remove all access package assignments from users. Access packages are bundles of resources, with specific access, that a user would need to accomplish tasks. For more information on access packages, see [What are access packages and what resources can I manage with them?](entitlement-management-overview.md#what-are-access-packages-and-what-resources-can-i-manage-with-them).
701
+
702
+
You're able to customize the task name and description for this task in the Azure portal.
703
+
:::image type="content" source="media/lifecycle-workflow-task/remove-all-access-package-assignment-user-task.png" alt-text="Screenshot of the remove all user access package assignment task.":::
704
+
705
+
For Microsoft Graph, the parameters for the **Remove all access package assignments for user** task are as follows:
706
+
707
+
|Parameter |Definition |
708
+
|---------|---------|
709
+
|category | leaver |
710
+
|displayName | Remove all access package assignments for user (Customizable by user) |
711
+
|description | Remove all access packages assigned to the user (Customizable by user) |
"description": "Remove all access packages assigned to the user",
719
+
"displayName": "Remove all access package assignments for user",
720
+
"id": "42ae2956-193d-4f39-be06-691b8ac4fa1d",
721
+
"parameters": []
722
+
}
723
+
```
724
+
725
+
726
+
### Cancel all pending access package assignment requests for user
727
+
728
+
Allows you to remove all access package assignments from users. Access packages are bundles of resources, with specific access, that a user would need to accomplish tasks. For more information on access packages, see [What are access packages and what resources can I manage with them?](entitlement-management-overview.md#what-are-access-packages-and-what-resources-can-i-manage-with-them).
729
+
730
+
You're able to customize the task name and description for this task in the Azure portal.
731
+
:::image type="content" source="media/lifecycle-workflow-task/cancel-all-pending-access-package-assignments-task.png" alt-text="Screenshot of the cancel all pending access package assignments requests for a user task.":::
732
+
733
+
For Microsoft Graph, the parameters for the **Cancel all pending access package assignment requests for user** task are as follows:
734
+
735
+
|Parameter |Definition |
736
+
|---------|---------|
737
+
|category | leaver |
738
+
|displayName | Cancel pending access package assignment requests for user (Customizable by user) |
739
+
|description | Cancel all pending access packages assignment requests for the user (Customizable by user) |
"description": "Cancel all pending access packages assignment requests for the user",
747
+
"displayName": "Cancel pending access package assignment requests for user",
748
+
"id": "498770d9-bab7-4e4c-b73d-5ded82a1d0b3",
749
+
"parameters": []
750
+
}
751
+
```
752
+
753
+
574
754
### Remove all license assignments from User
575
755
576
756
Allows all direct license assignments to be removed from a user. For group-based license assignments, you would run a task to remove the user from the group the license assignment is part of.
@@ -632,7 +812,7 @@ For Microsoft Graph, the parameters for the **Delete User** task are as follows:
632
812
633
813
```
634
814
635
-
## Send email to manager before user's last day
815
+
###Send email to manager before user's last day
636
816
637
817
Allows an email to be sent to a user's manager before their last day. You're able to customize the task name and the description for this task in the Azure portal.
638
818
:::image type="content" source="media/lifecycle-workflow-task/send-email-before-last-day.png" alt-text="Screenshot of Workflows task: send email before user last day task.":::
@@ -682,7 +862,7 @@ For Microsoft Graph the parameters for the **Send email before user's last day**
682
862
683
863
```
684
864
685
-
## Send email on user's last day
865
+
###Send email on user's last day
686
866
687
867
Allows an email to be sent to a user's manager on their last day. You're able to customize the task name and the description for this task in the Azure portal.
688
868
:::image type="content" source="media/lifecycle-workflow-task/send-email-last-day.png" alt-text="Screenshot of Workflows task: task to send email last day.":::
@@ -731,7 +911,7 @@ For Microsoft Graph, the parameters for the **Send email on user last day** task
731
911
732
912
```
733
913
734
-
## Send email to user's manager after their last day
914
+
###Send email to user's manager after their last day
735
915
736
916
Allows an email containing off-boarding information to be sent to the user's manager after their last day. You're able to customize the task name and description for this task in the Azure portal.
737
917
:::image type="content" source="media/lifecycle-workflow-task/offboard-email-manager.png" alt-text="Screenshot of Workflows task: send off-boarding email to users manager after their last day.":::
0 commit comments