Skip to content

Commit 7ff03e5

Browse files
committed
Fixed Warnings
1 parent 650039c commit 7ff03e5

12 files changed

+18
-41
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7558,6 +7558,11 @@
75587558
"redirect_url": "source-control-integration",
75597559
"redirect_document_id": false
75607560
},
7561+
{
7562+
"source_path_from_root": "/articles/automation/manage-runas-account.md",
7563+
"redirect_url": "/azure/automation/migrate-run-as-accounts-managed-identity",
7564+
"redirect_document_id": false
7565+
},
75617566
{
75627567
"source_path_from_root": "/articles/automation/manage-run-as-account.md",
75637568
"redirect_url": "/azure/automation/migrate-run-as-accounts-managed-identity",

articles/automation/automation-graphical-authoring-intro.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,5 +416,4 @@ You have the option to revert to the Published version of a runbook. This operat
416416

417417
* To get started with graphical runbooks, see [Tutorial: Create a graphical runbook](./learn/powershell-runbook-managed-identity.md).
418418
* To know more about runbook types and their advantages and limitations, see [Azure Automation runbook types](automation-runbook-types.md).
419-
* To understand how to authenticate using the Automation Run As account, see [Run As account](automation-security-overview.md#run-as-account).
420419
* For a PowerShell cmdlet reference, see [Az.Automation](/powershell/module/az.automation/#automation).

articles/automation/delete-run-as-account.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ To configure or update or delete a Run As account and a Classic Run As accounts,
2727
- Cloud Application Administrator
2828
- Global Administrator
2929

30-
To learn more about permissions, see [Run As account permissions](automation-security-overview.md#permissions).
31-
32-
3330
## Delete a Run As or Classic Run As account
3431

3532
1. In the Azure portal, open the Automation account.

articles/automation/troubleshoot/extension-based-hybrid-runbook-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ A runbook running on a Hybrid Runbook Worker fails with the following error mess
240240

241241
#### Cause
242242

243-
This error occurs when you attempt to use a [Run As account](../automation-security-overview.md#run-as-accounts) in a runbook that runs on a Hybrid Runbook Worker where the Run As account certificate isn't present. Hybrid Runbook Workers don't have the certificate asset locally by default. The Run As account requires this asset to operate properly.
243+
This error occurs when you attempt to use a Run As account in a runbook that runs on a Hybrid Runbook Worker where the Run As account certificate isn't present. Hybrid Runbook Workers don't have the certificate asset locally by default. The Run As account requires this asset to operate properly.
244244

245245
#### Resolution
246246

articles/automation/troubleshoot/hybrid-runbook-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ A runbook running on a Hybrid Runbook Worker fails with the following error mess
151151

152152
#### Cause
153153

154-
This error occurs when you attempt to use a [Run As account](../automation-security-overview.md#run-as-accounts) in a runbook that runs on a Hybrid Runbook Worker where the Run As account certificate isn't present. Hybrid Runbook Workers don't have the certificate asset locally by default. The Run As account requires this asset to operate properly.
154+
This error occurs when you attempt to use a Run As account in a runbook that runs on a Hybrid Runbook Worker where the Run As account certificate isn't present. Hybrid Runbook Workers don't have the certificate asset locally by default. The Run As account requires this asset to operate properly.
155155

156156
#### Resolution
157157

articles/automation/troubleshoot/runbooks.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ When you receive errors during runbook execution in Azure Automation, you can us
5858

5959
1. If your runbook is suspended or unexpectedly fails:
6060

61-
* [Renew the certificate](../manage-runas-account.md#cert-renewal) if the Run As account has expired.
6261
* [Renew the webhook](../automation-webhooks.md#update-a-webhook) if you're trying to use an expired webhook to start the runbook.
6362
* [Check job statuses](../automation-runbook-execution.md#job-statuses) to determine current runbook statuses and some possible causes of the issue.
6463
* [Add additional output](../automation-runbook-output-and-messages.md#working-with-message-streams) to the runbook to identify what happens before the runbook is suspended.
@@ -195,7 +194,7 @@ Run Login-AzureRMAccount to login.
195194

196195
### Cause
197196

198-
This error can occur when you're not using a Run As account or the Run As account has expired. For more information, see [Azure Automation Run As accounts overview](../automation-security-overview.md#run-as-accounts).
197+
This error can occur when you're not using a Run As account or the Run As account has expired.
199198

200199
This error has two primary causes:
201200

@@ -720,7 +719,7 @@ Follow [Step 5 - Add authentication to manage Azure resources](../learn/powershe
720719

721720
#### Insufficient permissions
722721

723-
[Add permissions to Key Vault](../manage-runas-account.md#add-permissions-to-key-vault) to ensure that your Run As account has sufficient permissions to access Key Vault.
722+
Add permissions to Key Vault to ensure that your Run As account has sufficient permissions to access Key Vault.
724723

725724
## Scenario: Runbook fails with "Parameter length exceeded" error
726725

articles/automation/troubleshoot/shared-resources.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -109,30 +109,12 @@ $Body = @"
109109
"@
110110
```
111111

112-
## Run As accounts
113-
114-
### <a name="unable-create-update"></a>Scenario: You're unable to create or update a Run As account
115-
116-
#### Issue
117-
118-
When you try to create or update a Run As account, you receive an error similar to the following:
119-
120-
```error
121-
You do not have permissions to create…
122-
```
123112

124-
#### Cause
125-
126-
You don't have the permissions that you need to create or update the Run As account, or the resource is locked at a resource group level.
127-
128-
#### Resolution
129-
130-
To create or update a Run As account, you must have appropriate [permissions](../automation-security-overview.md#permissions) to the various resources used by the Run As account.
131-
132-
If the problem is because of a lock, verify that the lock can be removed. Then go to the resource that is locked in Azure portal, right-click the lock, and select **Delete**.
113+
## Run As accounts
133114

134115
> [!NOTE]
135-
> Azure Automation Run as accounts, including Classic Run as accounts have retired on **30 September 2023** and replaced with [Managed Identities](automation-security-overview.md#managed-identities). You would no longer be able to create or renew Run as accounts through the Azure portal. For more information, see [migrating from an existing Run As accounts to managed identity](migrate-run-as-accounts-managed-identity.md?tabs=run-as-account#sample-scripts).
116+
> Azure Automation Run as accounts, including Classic Run as accounts have retired on **30 September 2023** and replaced with [Managed Identities](../automation-security-overview.md#managed-identities)
117+
You would no longer be able to create or renew Run as accounts through the Azure portal. For more information, see [migrating from an existing Run As accounts to managed identity](../migrate-run-as-accounts-managed-identity.md#sample-scripts).
136118

137119

138120
### <a name="iphelper"></a>Scenario: You receive the error "Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'" when executing a runbook

articles/automation/troubleshoot/start-stop-vm.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Review the following list for potential resolutions:
107107
* **ScheduledStartStop_Parent**
108108
* **SequencedStartStop_Parent**
109109

110-
* Verify that your [Run As account](../automation-security-overview.md#run-as-accounts) has proper permissions to the VMs you're trying to start or stop. To learn how to check the permissions on a resource, see [Quickstart: View roles assigned to a user using the Azure portal](../../role-based-access-control/check-access.md). You'll need to provide the application ID for the service principal used by the Run As account. You can retrieve this value by going to your Automation account in the Azure portal. Select **Run as accounts** under **Account Settings**, and select the appropriate Run As account.
110+
* To learn how to check the permissions on a resource, see [Quickstart: View roles assigned to a user using the Azure portal](../../role-based-access-control/check-access.md). You'll need to provide the application ID for the service principal used by the Run As account. You can retrieve this value by going to your Automation account in the Azure portal. Select **Run as accounts** under **Account Settings**, and select the appropriate Run As account.
111111

112112
* VMs might not be started or stopped if they're being explicitly excluded. Excluded VMs are set in the `External_ExcludeVMNames` variable in the Automation account to which the feature is deployed. The following example shows how you can query that value with PowerShell.
113113

@@ -199,9 +199,7 @@ This issue can be caused by an improperly configured or expired Run As account.
199199

200200
To verify that your Run As account is properly configured, go to your Automation account in the Azure portal and select **Run as accounts** under **Account Settings**. If a Run As account is improperly configured or expired, the status shows the condition.
201201

202-
If your Run As account is misconfigured, delete and re-create your Run As account. For more information, see [Azure Automation Run As accounts](../automation-security-overview.md#run-as-accounts).
203-
204-
If the certificate is expired for your Run As account, follow the steps in [Self-signed certificate renewal](../manage-runas-account.md#cert-renewal) to renew the certificate.
202+
If your Run As account is misconfigured, delete and re-create your Run As account.
205203

206204
If there are missing permissions, see [Quickstart: View roles assigned to a user using the Azure portal](../../role-based-access-control/check-access.md). You must provide the application ID for the service principal used by the Run As account. You can retrieve this value by going to your Automation account in the Azure portal. Select **Run as accounts** under **Account Settings**, and select the appropriate Run As account.
207205

articles/expressroute/how-to-custom-route-alert.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: duau
1212
---
1313
# Configure custom alerts to monitor advertised routes
1414

15-
This article helps you use Azure Automation and Logic Apps to constantly monitor the number of routes advertised from the ExpressRoute gateway to on-premises networks. Monitoring can help prevent hitting the 1000 routes limit](expressroute-faqs.md#how-many-prefixes-can-be-advertised-from-a-vnet-to-on-premises-on-expressroute-private-peering).
15+
This article helps you use Azure Automation and Logic Apps to constantly monitor the number of routes advertised from the ExpressRoute gateway to on-premises networks. Monitoring can help prevent hitting the 1000 [routes limit](expressroute-faqs.md#how-many-prefixes-can-be-advertised-from-a-vnet-to-on-premises-on-expressroute-private-peering).
1616

1717
**Azure Automation** allows you to automate execution of custom PowerShell script stored in a *runbook*. When using the configuration in this article, the runbook contains a PowerShell script that queries one or more ExpressRoute gateways. It collects a dataset containing the resource group, ExpressRoute gateway name, and number of network prefixes advertised on-premises.
1818

@@ -34,8 +34,6 @@ Verify that you have met the following criteria before beginning your configurat
3434

3535
* You have at least one ExpressRoute gateway in your deployment.
3636

37-
* You have a basic understanding of [Run As accounts](../automation/manage-runas-account.md) in Azure Automation.
38-
3937
* You are familiar with [Azure Logic Apps](../logic-apps/logic-apps-overview.md).
4038

4139
* You are familiar with using Azure PowerShell. Azure PowerShell is required to collect the network prefixes in ExpressRoute gateway. For more information about Azure PowerShell in general, see the [Azure PowerShell documentation](/powershell/azure/).
@@ -48,7 +46,7 @@ Verify that you have met the following criteria before beginning your configurat
4846

4947
## <a name="accounts"></a>Create and configure accounts
5048

51-
When you create an Automation account in the Azure portal, a [Run As](../automation/automation-security-overview.md#run-as-accounts) account is automatically created. This account takes following actions:
49+
When you create an Automation account in the Azure portal, a Run As account is automatically created. This account takes following actions:
5250

5351
* Creates an Azure Active Directory (Azure AD) application with a self-signed certificate. The Run As account itself has a certificate that needs to be renewed by default every year.
5452

articles/network-watcher/network-watcher-monitor-with-azure-automation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Before you start this scenario, you must have the following pre-requisites:
4444
4545
### Create the runbook
4646

47-
The first step to configuring the example is to create the runbook. This example uses a run-as account. To learn about run-as accounts, visit [Authenticate Runbooks with Azure Run As account](../automation/manage-runas-account.md)
47+
The first step to configuring the example is to create the runbook.
4848

4949
### Step 1
5050

0 commit comments

Comments
 (0)