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/identity-governance-automation.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Orchestrate Azure AD Identity Governance with Azure Automation
2
+
title: Orchestrate Azure AD Identity Governance tasks with Azure Automation
3
3
description: Learn how to write PowerShell scripts in Azure Automation to interact with Azure Active Directory entitlement management and other features.
# Automate Azure AD Identity Governance via Azure Automation and Microsoft Graph
23
+
# Automate Azure AD Identity Governance tasks via Azure Automation and Microsoft Graph
24
24
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.
26
26
27
27
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.
28
28
@@ -61,7 +61,7 @@ To generate a self-signed certificate,
61
61
62
62
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.
63
63
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.
65
65
66
66
## Upload the key pair to Azure Automation
67
67
@@ -77,7 +77,7 @@ Your runbook in Azure Automation will retrieve the private key from the `.pfx` f
77
77
78
78
## Add modules for Microsoft Graph to your Azure Automation account
79
79
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.
81
81
82
82
1. In the Azure portal for the Azure Automation account, select **Modules** and then **Browse gallery**.
1. If the run of your runbook is successful, then the message **Welcome to Microsoft Graph!** will appear.
159
159
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.
161
161
162
162
## Extend the runbook to use Entitlement Management
## Parse the output of an Azure Automation account in Logic Apps (optional)
185
185
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.
187
187
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.
189
189
190
190
1. In Azure Logic Apps, create a Logic App in the Logic Apps Designer starting with **Recurrence**.
0 commit comments