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/automation/automation-managed-identity-faq.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,20 @@ This Microsoft FAQ is a list of commonly asked questions when you're migrating f
15
15
16
16
## How long will you support Run As account?
17
17
18
-
Automation Run As account will be supported for the next one year until **September 30, 2023**. While we continue to support existing users, we recommend all new users to use Managed identities as the preferred way of runbook authentication. Existing users can still create the Run As account, see the account properties and renew the certificate upon expiration till **January 30, 2023**. After this date, you won't be able to create a Run As account from the Azure portal. You will still be able to create a Run As account through [PowerShell script](/azure/automation/create-run-as-account#create-account-using-powershell) until the supported time of one year. You can [use this script](/script) to renew the certificate post **January 30, 2023** until **September 30, 2023**.
18
+
Automation Run As account will be supported for the next one year until **September 30, 2023**. While we continue to support existing users, we recommend all new users to use Managed identities as the preferred way of runbook authentication. Existing users can still create the Run As account, see the account properties and renew the certificate upon expiration till **January 30, 2023**. After this date, you won't be able to create a Run As account from the Azure portal. You will still be able to create a Run As account through [PowerShell script](/azure/automation/create-run-as-account#create-account-using-powershell) until the supported time of one year. You can [use this script](https://github.com/azureautomation/runbooks/blob/master/Utility/AzRunAs/RunAsAccountAssessAndRenew.ps1) to renew the certificate post **January 30, 2023** until **September 30, 2023**. This script will assess automation account which has configured Run As accounts and renews the certificate if the user chooses to do so. On confirmation, it will renew the key credentials of Azure-AD App and upload new self-signed certificate to the Azure-AD App.
19
19
20
20
21
21
## Will existing runbooks that use the Run As account be able to authenticate?
22
22
Yes, they will be able to authenticate and there will be no impact to the existing runbooks using Run As account.
23
23
24
24
## How can I renew the existing Run as accounts post January 30, 2023 when portal support to renew the account to removed?
25
-
You can [use this script](/script) to renew the Run As account certificate post January 30, 2023 until September 30, 2023.
25
+
You can [use this script](https://github.com/azureautomation/runbooks/blob/master/Utility/AzRunAs/RunAsAccountAssessAndRenew.ps1) to renew the Run As account certificate post January 30, 2023 until September 30, 2023.
26
26
27
27
## Can Run As account still be created post September 30, 2023 when Run As account will retire?
28
-
Yes, you can still create the Run As account using the [PowerShell script](/script) However, this would be an unsupported scenario.
28
+
Yes, you can still create the Run As account using the [PowerShell script](../automation/create-run-as-account.md#create-account-using-powershell). However, this would be an unsupported scenario.
29
29
30
30
## Can Run As accounts still be renewed post September 30, 2023 when Run As account will retire?
31
-
You can [use this script](/script) to renew the Run As account certificate post September 30, 2023 when Run As account will retire. However, it would be an unsupported scenario.
31
+
You can [use this script](https://github.com/azureautomation/runbooks/blob/master/Utility/AzRunAs/RunAsAccountAssessAndRenew.ps1) to renew the Run As account certificate post September 30, 2023 when Run As account will retire. However, it would be an unsupported scenario.
32
32
33
33
## Will the runbooks that still use the Run As account be able to authenticate even after September 30, 2023?
34
34
Yes, the runbooks will be able to authenticate until the Run As account certificate expires.
@@ -58,8 +58,8 @@ Yes, only in a scenario when Managed identities aren't supported for specific on
58
58
## How can I migrate from existing Run As account to Managed identities?
59
59
Follow the steps mentioned in [migrate Run As accounts to Managed identity](/azure/automationmigrate-run-as-accounts-managed-identity).
60
60
61
-
## How do I see the runbooks that are using Run As account?
62
-
Use the script here to find out which Automation accounts are using Run As account
61
+
## How do I see the runbooks that are using Run As account and know what permissions are assigned to the Run As account?
62
+
Use the [script](https://github.com/azureautomation/runbooks/blob/master/Utility/AzRunAs/Check-AutomationRunAsAccountRoleAssignments.ps1) here to find out which Automation accounts are using Run As account. If your Azure Automation accounts contain a Run As account, it will by default, have the built-in contributor role assigned to it. You can use this script to check the role assignments of your Azure Automation Run As accounts and determine if their role assignment is the default one or if it has been changed to a different role definition.
Copy file name to clipboardExpand all lines: articles/automation/migrate-run-as-accounts-managed-identity.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ foreach ($ResourceGroup in $ResourceGroups)
158
158
159
159
## Graphical runbooks
160
160
161
-
You can test the managed identity to verify if the Graphical runbook is working as expected by creating a copy of your production runbook to use the managed identity and updating your test graphical runbook code to authenticate by using the managed identity. You can add this functionality to a graphical runbook by adding `Connect-AzAccount` cmdlet.
161
+
You must test the managed identity to verify if the Graphical runbook is working as expected by creating a copy of your production runbook to use the managed identity and updating your test graphical runbook code to authenticate by using the managed identity. You can add this functionality to a graphical runbook by adding `Connect-AzAccount` cmdlet.
162
162
163
163
Listed below is an example to guide on how a graphical runbook that uses Run As account use managed identities:
164
164
@@ -168,13 +168,13 @@ Listed below is an example to guide on how a graphical runbook that uses Run As
168
168
169
169
:::image type="content" source="./media/migrate-run-as-account-managed-identity/edit-graphical-runbook-inline.png" alt-text="Screenshot of edit graphical runbook." lightbox="./media/migrate-run-as-account-managed-identity/edit-graphical-runbook-expanded.png":::
170
170
171
-
1. Replace, Run As connection that uses `AzureRunAsConnection`and connection asset that internally uses PowerShell `Get-AutomationConnection` cmdlet with graphical runbook functionality.
171
+
1. Replace, Run As connection that uses `AzureRunAsConnection`and connection asset that internally uses PowerShell `Get-AutomationConnection` cmdlet with `Connect-AzAccount` cmdlet.
172
172
173
-
1. Connect to Azure that uses `Connect-AzAccount` to add the authenticated Run As account for use in the runbook with`Connect-AzAccount` activity from the `Az.Accounts` cmdlet that uses the PowerShell code to connect to identity.
173
+
1. Connect to Azure that uses `Connect-AzAccount` to add the identity support for use in the runbook using`Connect-AzAccount` activity from the `Az.Accounts` cmdlet that uses the PowerShell code to connect to identity.
174
174
175
175
:::image type="content" source="./media/migrate-run-as-account-managed-identity/add-functionality-inline.png" alt-text="Screenshot of add functionality to graphical runbook." lightbox="./media/migrate-run-as-account-managed-identity/add-functionality-expanded.png":::
176
176
177
-
1. Select **Code** to enter the following code.
177
+
1. Select **Code** to enter the following code to pass the identity.
178
178
179
179
```powershell-interactive
180
180
try
@@ -190,7 +190,7 @@ catch {
190
190
191
191
For example, in the runbook `Start Azure V2 VMs` in the runbook gallery, you must replace `Get Run As Connection` and `Connect to Azure` activities with `Connect-AzAccount` cmdlet activity.
192
192
193
-
For more information, see sample runbook name *AzureAutomationTutorialWithIdentityGraphical* that you created with the Automation account.
193
+
For more information, see sample runbook name *AzureAutomationTutorialWithIdentityGraphical* that gets created with the Automation account.
0 commit comments