Skip to content

Commit e6831f8

Browse files
Merge pull request #225546 from OWinfreyATL/OwinfreyATL-LCW-Limits
Limits and restrictions update
2 parents e9d2798 + ba42499 commit e6831f8

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
lines changed

articles/active-directory/governance/on-demand-workflow.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,23 @@ ms.service: active-directory
88
ms.subservice: compliance
99
ms.workload: identity
1010
ms.topic: how-to
11-
ms.date: 01/26/2023
11+
ms.date: 01/30/2023
1212
ms.custom: template-how-to
1313
---
1414

1515

1616
# Run a workflow on-demand (Preview)
1717

18-
While most workflows by default are scheduled to run every 3 hours, workflows created using Lifecycle Workflows can also run on-demand so that they can be applied to specific users whenever you see fit. A workflow can be run on demand for any user and doesn't take into account whether or not a user meets the workflow's execution conditions. Workflows created in the Azure portal are disabled by default. Running a workflow on-demand allows you to run workflows that can't be run on schedule currently such as leaver workflows. It also allows you to test workflows before their scheduled run. You can test the workflow on a smaller group of users before enabling it for a broader audience.
18+
Scheduled workflows by default run every 3 hours, but can also run on-demand so that they can be applied to specific users whenever you see fit. A workflow can be run on demand for any user, and doesn't take into account whether or not a user meets the workflow's execution conditions. Running a workflow on-demand allows you to test workflows before their scheduled run. This testing, on a set of users up to 10 at a time, allows you to see how a workflow will run before it processes a larger set of users. Testing your workflow before their scheduled runs helps you proactively solve potential lifecycle issues more quickly.
1919

20-
>[!NOTE]
21-
>Be aware that you currently cannot run a workflow on-demand if it is set to disabled, which is the default state of newly created workflows using the Azure portal. You need to set the workflow to enabled to use the on-demand feature.
2220

2321
## Run a workflow on-demand in the Azure portal
2422

2523
Use the following steps to run a workflow on-demand.
2624

25+
>[!NOTE]
26+
>To be run on demand, the workflow must be enabled.
27+
2728
1. Sign in to the [Azure portal](https://portal.azure.com).
2829

2930
1. Select **Azure Active Directory** and then select **Identity Governance**.
@@ -50,6 +51,7 @@ Use the following steps to run a workflow on-demand.
5051

5152
:::image type="content" source="media/on-demand-workflow/on-demand-run.png" alt-text="Screenshot of a workflow being run on-demand.":::
5253

54+
5355
## Run a workflow on-demand using Microsoft Graph
5456

5557
To run a workflow on-demand using API via Microsoft Graph, see: [workflow: activate (run a workflow on-demand)](/graph/api/identitygovernance-workflow-activate).

articles/active-directory/governance/understanding-lifecycle-workflows.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,31 @@ The following document provides an overview of a workflow created using Lifecycl
2323

2424
[!INCLUDE [Azure AD Premium P2 license](../../../includes/lifecycle-workflows-license.md)]
2525

26-
## Permissions
26+
## Permissions and Roles
2727

28-
The following permissions are required for Lifecycle Workflows:
28+
For a full list of supported delegate and application permissions required to use Lifecycle Workflows, see: [Lifecycle workflows permissions](/graph/permissions-reference#lifecycle-workflows-permissions).
2929

30-
|Parameter |Display String |Description |Admin Consent Required |
31-
|---------|---------|---------|---------|
32-
|LifecycleWorkflows.Read.All | Read all lifecycle workflows and tasks.| Allows the app to list and read all workflows and tasks related to lifecycle workflows on behalf of the signed-in user.| Yes
33-
|LifecycleWorkflows.ReadWrite.All | Read and write all lifecycle workflows and tasks.| Allows the app to create, update, list, read and delete all workflows and tasks related to lifecycle workflows on behalf of the signed-in user.| Yes
30+
For delegated scenarios, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
31+
32+
- Global administrator
33+
- Global reader
34+
- Lifecycle workflows administrator
35+
36+
## Restrictions
37+
38+
39+
|Column1 |Limit |
40+
|---------|---------|
41+
|Number of Workflows | 50 per tenant |
42+
|Number of Tasks | 25 per workflow |
43+
|Number of Custom Task Extensions | 100 per tenant |
44+
|offsetInDays range of triggerAndScopeBasedConditions executionConditions | 60 days |
45+
|Workflow schedule interval in hours | 1-24 hours |
46+
|Number of users per on-demand selection | 10 |
47+
|durationBeforeTimeout range of custom task extensions | 5 minutes-3 hours |
48+
49+
> [!NOTE]
50+
> If creating, or updating, a workflow via API the offsetInDays range will be between -60-60 days. The negative value will signal happening before the timeBasedAttribute, while the positive value will signal happening afterwards.
3451
3552
## Parts of a workflow
3653

0 commit comments

Comments
 (0)