Skip to content

Commit dff15b9

Browse files
authored
Merge pull request #209842 from MicrosoftDocs/main
8/31 PM Publish
2 parents 647e74f + a95f3d9 commit dff15b9

File tree

293 files changed

+8758
-2436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+8758
-2436
lines changed

articles/active-directory/external-identities/index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
ms.subservice: B2B
1111
ms.workload: identity
1212
ms.topic: landing-page
13-
ms.date: 05/19/2020
13+
ms.date: 08/31/2022
1414
author: msmimart
1515
ms.author: mimart
1616
manager: celested
@@ -28,11 +28,11 @@ landingContent:
2828
url: b2b-direct-connect-overview.md
2929
- text: What is Azure AD B2C (business-to-consumer) identity?
3030
url: ../../active-directory-b2c/overview.md
31-
- title: Collaborate with users outside your org (B2B collaboration)
31+
- title: Collaborate with users outside your org (B2B)
3232
linkLists:
3333
- linkListType: concept
3434
links:
35-
- text: Cross-tenant access settings
35+
- text: Overview of cross-tenant access settings
3636
url: cross-tenant-access-overview.md
3737
- text: B2B collaboration user properties
3838
url: user-properties.md
@@ -42,14 +42,14 @@ landingContent:
4242
links:
4343
- text: Configure your external collaboration settings
4444
url: external-collaboration-settings-configure.md
45+
- text: Configure cross-tenant access for B2B collaboration
46+
url: cross-tenant-access-settings-b2b-collaboration.md
4547
- text: Set up SAML/WS-Fed IdP federation
4648
url: direct-federation.md
4749
- text: Set up One-time passcodes
4850
url: one-time-passcode.md
4951
- text: Add and invite guest users
5052
url: add-users-administrator.md
51-
- text: Leave an organization as a guest user
52-
url: leave-the-organization.md
5353
- title: Scale apps to consumers and customers (Azure AD B2C)
5454
linkLists:
5555
- linkListType: overview

articles/active-directory/governance/TOC.yml

Lines changed: 80 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,52 @@
1212
- name: What is identity lifecycle management?
1313
href: what-is-identity-lifecycle-management.md
1414
- name: What is provisioning?
15-
href: what-is-provisioning.md
15+
href: what-is-provisioning.md
16+
- name: What are Lifecycle Workflows? (Preview)
17+
href: what-are-lifecycle-workflows.md
1618
- name: Tutorials
1719
expanded: true
1820
items:
19-
- name: Azure portal tutorials
21+
- name: Govern access to applications
22+
items:
23+
- name: Automate identity governance tasks - PowerShell
24+
href: identity-governance-automation.md
25+
- name: Governing an application's existing users - PowerShell
26+
href: identity-governance-applications-existing-users.md
27+
- name: Entitlement Management
2028
items:
2129
- name: Manage access to resources
2230
href: entitlement-management-access-package-first.md
31+
- name: Manage access to resources - Microsoft Graph
32+
href: /graph/tutorial-access-package-api?toc=/azure/active-directory/governance/toc.json&bc=/azure/active-directory/governance/breadcrumb/toc.json
33+
- name: Manage access to resources - PowerShell
34+
href: /powershell/microsoftgraph/tutorial-entitlement-management
2335
- name: Manage the lifecycle of your group-based licenses in Azure AD
2436
href: entitlement-management-group-licenses.md
2537
- name: Onboard external users to Azure AD through an approval process
2638
href: entitlement-management-onboard-external-user.md
27-
- name: API tutorials
39+
- name: Access Reviews
2840
items:
29-
- name: Manage access to resources - Microsoft Graph
30-
href: /graph/tutorial-access-package-api?toc=/azure/active-directory/governance/toc.json&bc=/azure/active-directory/governance/breadcrumb/toc.json
31-
- name: Manage access to resources - PowerShell
32-
href: /powershell/microsoftgraph/tutorial-entitlement-management
3341
- name: Review access to Microsoft 365 groups - Microsoft Graph
3442
href: /graph/tutorial-accessreviews-m365group
3543
- name: Review access to security groups - Microsoft Graph
3644
href: /graph/tutorial-accessreviews-securitygroup
3745
- name: Review access to privileged roles - Microsoft Graph
3846
href: /graph/tutorial-accessreviews-roleassignments
39-
- name: Automate identity governance tasks - PowerShell
40-
href: identity-governance-automation.md
41-
- name: Governing an application's existing users - PowerShell
42-
href: identity-governance-applications-existing-users.md
47+
- name: Lifecycle Workflows (Preview)
48+
items:
49+
- name: Automate employee onboarding tasks - Azure portal (Preview)
50+
href: tutorial-onboard-custom-workflow-portal.md
51+
- name: Automate employee onboarding tasks - Microsoft Graph (Preview)
52+
href: tutorial-onboard-custom-workflow-graph.md
53+
- name: Offboarding employees in real-time - Azure portal (Preview)
54+
href: tutorial-offboard-custom-workflow-portal.md
55+
- name: Offboarding employees in real-time - Microsoft Graph (Preview)
56+
href: tutorial-offboard-custom-workflow-graph.md
57+
- name: Automate employee offboarding tasks - Azure portal (preview)
58+
href: tutorial-scheduled-leaver-portal.md
59+
- name: Automate employee offboarding tasks - Microsoft Graph (preview)
60+
href: tutorial-scheduled-leaver-graph.md
4361
- name: Concepts
4462
expanded: true
4563
items:
@@ -59,6 +77,20 @@
5977
href: review-recommendations-access-reviews.md
6078
- name: Review and remove users from external organizations
6179
href: access-reviews-external-users.md
80+
- name: Lifecycle Workflows (Preview)
81+
items:
82+
- name: Understanding Lifecycle Workflows (Preview)
83+
href: understanding-lifecycle-workflows.md
84+
- name: Templates (Preview)
85+
href: lifecycle-workflow-templates.md
86+
- name: Built-in tasks (Preview)
87+
href: lifecycle-workflow-tasks.md
88+
- name: Custom Task Extension (Preview)
89+
href: lifecycle-workflow-extensibility.md
90+
- name: Versioning (Preview)
91+
href: lifecycle-workflow-versioning.md
92+
- name: History (Preview)
93+
href: lifecycle-workflow-history.md
6294
- name: How-to guides
6395
expanded: true
6496
items:
@@ -168,10 +200,47 @@
168200
href: ../privileged-identity-management/pim-perform-azure-ad-roles-and-resource-roles-review.md?toc=%2fazure%2factive-directory%2fgovernance%2ftoc.json
169201
- name: Complete an access review
170202
href: ../privileged-identity-management/pim-complete-azure-ad-roles-and-resource-roles-review.md?toc=%2fazure%2factive-directory%2fgovernance%2ftoc.json
203+
- name: Lifecycle Workflows (Preview)
204+
items:
205+
- name: Deployment (Preview)
206+
href: lifecycle-workflows-deployment.md
207+
- name: Create
208+
items:
209+
- name: Create a Lifecycle Workflow (Preview)
210+
href: create-lifecycle-workflow.md
211+
- name: Trigger Logic Apps based on custom task extensions (Preview)
212+
href: trigger-custom-task.md
213+
- name: Manage
214+
items:
215+
- name: Synchronize attributes (Preview)
216+
href: how-to-lifecycle-workflow-sync-attributes.md
217+
- name: Manage workflow properties (Preview)
218+
href: manage-workflow-properties.md
219+
- name: Manage workflow versions (Preview)
220+
href: manage-workflow-tasks.md
221+
- name: Run a workflow on-demand (Preview)
222+
href: on-demand-workflow.md
223+
- name: Check the status of a workflow (Preview)
224+
href: check-status-workflow.md
225+
- name: Customize the schedule of workflows (Preview)
226+
href: customize-workflow-schedule.md
227+
- name: Delete
228+
items:
229+
- name: Delete a Lifecycle workflow (Preview)
230+
href: delete-lifecycle-workflow.md
171231
- name: Reference
172232
expanded: true
173233
items:
174234
- name: Access reviews - Microsoft Graph API
175235
href: /graph/api/resources/accessreviewsv2-overview
176236
- name: Entitlement management - Microsoft Graph API
177237
href: /graph/api/resources/entitlementmanagement-overview
238+
- name: Lifecycle Workflows - FAQs (Preview)
239+
href: workflows-faqs.md
240+
- name: Developer API reference Lifecycle Workflows- Azure Active Directory
241+
href: lifecycle-workflows-developer-reference.md
242+
- name: Preparing user accounts for Lifecycle workflows tutorials (Preview)
243+
href: tutorial-prepare-azure-ad-user-accounts.md
244+
- name: Configure a Logic App for Lifecycle Workflow use (Preview)
245+
href: configure-logic-app-lifecycle-workflows.md
246+
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
---
2+
title: Check status of a Lifecycle workflow - Azure Active Directory
3+
description: This article guides a user on checking the status of a Lifecycle workflow
4+
author: OWinfreyATL
5+
ms.author: owinfrey
6+
manager: amycolannino
7+
ms.service: active-directory
8+
ms.workload: identity
9+
ms.topic: how-to
10+
ms.date: 03/10/2022
11+
ms.subservice: compliance
12+
ms.custom: template-how-to
13+
---
14+
15+
16+
# Check the status of a workflow (Preview)
17+
18+
When a workflow is created, it's important to check its status, and run history to make sure it ran properly for the users it processed both by schedule and by on-demand. To get information about the status of workflows, Lifecycle Workflows allows you to check run and user processing history. This history also gives you summaries to see how often a workflow has run, and who it ran successfully for. You're also able to check the status of both the workflow, and its tasks. Checking the status of workflows and their tasks allows you to troubleshoot potential problems that could come up during their execution.
19+
20+
21+
## Run workflow history using the Azure portal
22+
23+
You're able to retrieve run information of a workflow using Lifecycle Workflows. To check the runs of a workflow using the Azure portal, you would do the following steps:
24+
25+
1. Sign in to the [Azure portal](https://portal.azure.com).
26+
27+
1. Select **Azure Active Directory** and then select **Identity Governance**.
28+
29+
1. On the left menu, select **Lifecycle Workflows (Preview)**.
30+
31+
1. On the Lifecycle Workflows overview page, select **Workflows (Preview)**.
32+
33+
1. Select the workflow you want to run history of.
34+
35+
1. On the workflow overview screen, select **Audit logs**.
36+
37+
1. On the history page, select the **Runs** button.
38+
39+
1. Here you'll see a summary of workflow runs.
40+
:::image type="content" source="media/check-status-workflow/run-list.png" alt-text="Screenshot of a workflow Runs list.":::
41+
1. The runs summary cards include the total number of processed runs, the number of successful runs, the number of failed runs, and the total number of failed tasks.
42+
43+
## User workflow history using the Azure portal
44+
45+
To get further information than just the runs summary for a workflow, you're also able to get information about users processed by a workflow. To check the status of users a workflow has processed using the Azure portal, you would do the following steps:
46+
47+
48+
1. In the left menu, select **Lifecycle Workflows (Preview)**.
49+
50+
1. select **Workflows (Preview)**.
51+
52+
1. select the workflow you want to see user processing information for.
53+
54+
1. On the workflow overview screen, select **Workflow history (Preview)**.
55+
:::image type="content" source="media/check-status-workflow/workflow-history.png" alt-text="Screenshot of a workflow overview history.":::
56+
1. On the workflow history page, you're presented with a summary of every user processed by the workflow along with counts of successful and failed users and tasks.
57+
:::image type="content" source="media/check-status-workflow/workflow-history-list.png" alt-text="Screenshot of a list of workflow summaries.":::
58+
1. By selecting total tasks by a user you're able to see which tasks have successfully completed, or are currently in progress.
59+
:::image type="content" source="media/check-status-workflow/task-history-status.png" alt-text="Screenshot of workflow task history status.":::
60+
1. By selecting failed tasks, you're able to see which tasks have failed for a specific user.
61+
:::image type="content" source="media/check-status-workflow/task-history-failed.png" alt-text="Screenshot of workflow failed tasks history.":::
62+
1. By selecting unprocessed tasks, you're able to see which tasks are unprocessed.
63+
:::image type="content" source="media/check-status-workflow/task-history-unprocessed.png" alt-text="Screenshot of unprocessed tasks of a workflow.":::
64+
65+
66+
## User workflow history using Microsoft Graph
67+
68+
### List user processing results using Microsoft Graph
69+
70+
To view a status list of users processed by a workflow, which are UserProcessingResults, you'd make the following API call:
71+
72+
```http
73+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults
74+
```
75+
76+
By default **userProcessingResults** returns only information from the last 7 days. To get information as far back as 30 days, you would run the following API call:
77+
78+
```http
79+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults?$filter=<Date range for processing results>
80+
```
81+
82+
by default **userProcessingResults** returns only information from the last 7 days. To filter information as far back as 30 days, you would run the following API call:
83+
84+
```http
85+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<id>/userProcessingResults?$filter=<Date range for processing results>
86+
```
87+
88+
An example of a call to get **userProcessingResults** for a month would be as follows:
89+
90+
```http
91+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults?$filter=< startedDateTime ge 2022-05-23T00:00:00Z and startedDateTime le 2022-06-22T00:00:00Z
92+
```
93+
94+
### User processing results using Microsoft Graph
95+
96+
When multiple user events are processed by a workflow, running the **userProcessingResults** may give incomprehensible information. To get a summary of information such as total users and tasks, and failed users and tasks, Lifecycle Workflows provides a call to get count totals.
97+
98+
To view a summary in count form, you would run the following API call:
99+
```http
100+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults/summary(<Date Range>)
101+
```
102+
103+
An example to get the summary between May 1, and May 30, you would run the following call:
104+
105+
```http
106+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults/summary(startDateTime=2022-05-01T00:00:00Z,endDateTime=2022-05-30T00:00:00Z)
107+
```
108+
109+
### List task processing results of a given user processing result
110+
111+
```http
112+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/userProcessingResults/<userProcessingResultId>/taskProcessingResults/
113+
```
114+
115+
## Run workflow history via Microsoft Graph
116+
117+
### List runs using Microsoft Graph
118+
119+
With Microsoft Graph, you're able to get full details of workflow and user processing run information.
120+
121+
To view a list of runs, you'd make the following API call:
122+
123+
```http
124+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/runs
125+
```
126+
127+
### Get a summary of runs using Microsoft Graph
128+
129+
To get a summary of runs for a workflow, which includes detailed information for counts of failed runs and tasks, along with successful runs and tasks for a time range, you'd make the following API call:
130+
131+
```http
132+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/runs/summary(startDateTime=<time>,endDateTime=<time>)
133+
```
134+
An example to get a summary of runs of a workflow through the time interval of May 2022 would be as follows:
135+
136+
```http
137+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/runs/summary(startDateTime=2022-05-01T00:00:00Z,endDateTime=202205-31T00:00:00Z)
138+
```
139+
140+
### List user and task processing results of a given run using Microsoft Graph
141+
142+
With Lifecycle Workflows, you're able to check the status of each user and task who had a workflow processed for them as part of a run.
143+
144+
145+
You're also able to use **userProcessingResults** with the run call to get users processed for a run by making the following API call:
146+
147+
```http
148+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId>/runs/<runId>/userProcessingResults
149+
```
150+
151+
This API call will also return a **userProcessingResults ID** value, which can be used to retrieve task processing information in the following call:
152+
153+
```http
154+
GET https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/<workflowId> /runs/<runId>/userProcessingResults/<userProcessingResultId>/taskProcessingResults
155+
```
156+
157+
> [!NOTE]
158+
> A workflow must have activity in the past 7 days to get **userProcessingResults ID**. If there has not been any activity in that time-frame, the **userProcessingResults** call will not return a value.
159+
160+
161+
## Next steps
162+
163+
- [Manage workflow versions](manage-workflow-tasks.md)
164+
- [Delete Lifecycle Workflows](delete-lifecycle-workflow.md)

0 commit comments

Comments
 (0)