Skip to content

Commit 2b063e6

Browse files
committed
address acrolinx feedback and link to TOC
1 parent 418c939 commit 2b063e6

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

articles/active-directory/governance/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
href: entitlement-management-reports.md
6363
- name: Archive logs and reporting
6464
href: entitlement-management-logs-and-reporting.md
65+
- name: Use with Azure Automation
66+
href: identity-governance-automation.md
6567
- name: Troubleshoot
6668
href: entitlement-management-troubleshoot.md
6769
- name: Catalog owners

articles/active-directory/governance/identity-governance-automation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Orchestrate Azure AD Identity Governance with Azure Automation
2+
title: Orchestrate Azure AD Identity Governance tasks with Azure Automation
33
description: Learn how to write PowerShell scripts in Azure Automation to interact with Azure Active Directory entitlement management and other features.
44
services: active-directory
55
documentationCenter: ''
@@ -20,9 +20,9 @@ ms.custom: devx-track-azurepowershell
2020

2121

2222
---
23-
# Automate Azure AD Identity Governance via Azure Automation and Microsoft Graph
23+
# Automate Azure AD Identity Governance tasks via Azure Automation and Microsoft Graph
2424

25-
[Azure Automation](azure/automation/overview) is an Azure cloud service that allows you to automate common or repetitive systems management and processes. Microsoft Graph is the Microsoft unified API endpoint for Azure AD features that manage users, groups, access packages, access reviews and other resources in the directory. You can manage Azure AD at scale from the PowerShell command line, using the [Microsoft Graph PowerShell SDK](/graph/powershell/get-started). You can also include the Microsoft Graph PowerShell cmdlets from a [PowerShell-based runbook in Azure Automation](/azure/automation/automation-intro), so that you can automate Azure AD tasks from a simple script.
25+
[Azure Automation](/azure/automation/overview) is an Azure cloud service that allows you to automate common or repetitive systems management and processes. Microsoft Graph is the Microsoft unified API endpoint for Azure AD features that manage users, groups, access packages, access reviews, and other resources in the directory. You can manage Azure AD at scale from the PowerShell command line, using the [Microsoft Graph PowerShell SDK](/graph/powershell/get-started). You can also include the Microsoft Graph PowerShell cmdlets from a [PowerShell-based runbook in Azure Automation](/azure/automation/automation-intro), so that you can automate Azure AD tasks from a simple script.
2626

2727
Azure Automation and the PowerShell Graph SDK supports certificate-based authentication and application permissions, so you can have Azure Automation runbooks authenticate to Azure AD without needing a user context.
2828

@@ -61,7 +61,7 @@ To generate a self-signed certificate,
6161

6262
1. Record the thumbprint that was displayed, the password to protect the private key in the `.pfx` file, and the location of the `.pfx` and `.crt` files.
6363

64-
1. After you have exported the files, you can remove the certificate and key pair from your local user certificate store. In subsequent steps you will remove the `.pfx` and `.crt` files as well, once those have been uploaded to the Azure Automation and Azure AD services.
64+
1. After you have exported the files, you can remove the certificate and key pair from your local user certificate store. In subsequent steps you will remove the `.pfx` and `.crt` files as well, once the certificate and private key have been uploaded to the Azure Automation and Azure AD services.
6565

6666
## Upload the key pair to Azure Automation
6767

@@ -77,7 +77,7 @@ Your runbook in Azure Automation will retrieve the private key from the `.pfx` f
7777

7878
## Add modules for Microsoft Graph to your Azure Automation account
7979

80-
By default, Azure Automation does not have any PowerShell modules preloaded for Microsoft Graph. You will need to add **Microsoft.Graph.Authentication**, and then additional modules, from the gallery to your Automation account.
80+
By default, Azure Automation does not have any PowerShell modules preloaded for Microsoft Graph. You will need to add **Microsoft.Graph.Authentication**, and then additional modules, from the gallery to your Automation account. Note that you will need to choose whether to use the beta or v1.0 APIs through those modules, as you cannot mix both in a single runbook.
8181

8282
1. In the Azure portal for the Azure Automation account, select **Modules** and then **Browse gallery**.
8383

@@ -157,7 +157,7 @@ Connect-MgGraph -clientId $ClientId -tenantid $TenantId -certificatethumbprint $
157157

158158
1. If the run of your runbook is successful, then the message **Welcome to Microsoft Graph!** will appear.
159159

160-
Now that you have verified that your runbook can authenticate to Microsoft Graph, extend your runbook by adding cmdlets for interacting with Azure AD features.
160+
Now that you have verified that your runbook can authenticate to Microsoft Graph, extend your runbook by adding cmdlets for interacting with Azure AD features.
161161

162162
## Extend the runbook to use Entitlement Management
163163

@@ -183,9 +183,9 @@ $ap | Select-Object -Property Id,DisplayName | ConvertTo-Json
183183

184184
## Parse the output of an Azure Automation account in Logic Apps (optional)
185185

186-
Once your runbook is published, your can create a schedule in Azure Automation, and link your runbook to that schedule to run automatically. This is suitable for runbooks that do not need to interact with other Azure or Office 365 services.
186+
Once your runbook is published, your can create a schedule in Azure Automation, and link your runbook to that schedule to run automatically. Scheduling runbooks from Azure Automation is suitable for runbooks that do not need to interact with other Azure or Office 365 services.
187187

188-
If you wish to send the output of your runbook to another service, then you may wish to consider using [Azure Logic Apps](/azure/logic-apps/logic-apps-overview) to start your Azure Automation runbook, as Logic Apps can also parse the results.
188+
If you wish to send the output of your runbook to another service, then you may wish to consider using [Azure Logic Apps](/azure/logic-apps/logic-apps-overview) to start your Azure Automation runbook, as Logic Apps can also parse the results.
189189

190190
1. In Azure Logic Apps, create a Logic App in the Logic Apps Designer starting with **Recurrence**.
191191

0 commit comments

Comments
 (0)