Skip to content

Commit 6f99597

Browse files
committed
edit pass: automation-articles-jd-batch1
1 parent a2ed114 commit 6f99597

File tree

2 files changed

+29
-28
lines changed

2 files changed

+29
-28
lines changed

articles/automation/troubleshoot/automation-account.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Automation account troubleshooting
2+
title: Azure Automation account troubleshooting
33
description: Learn how to troubleshoot and resolve issues with an Azure account.
44
services: automation
55
author: mgoedtel
@@ -9,9 +9,9 @@ ms.topic: conceptual
99
ms.service: automation
1010
manager: carmonm
1111
---
12-
# Troubleshoot the Automation account
12+
# Troubleshoot an Azure Automation account
1313

14-
This article discusses solutions to issues that you might encounter when you use an Automation account. The following sections highlight specific error messages and possible resolutions for each. For general information about Automation accounts, see [Create an Azure account](../automation-quickstart-create-account.md).
14+
This article discusses solutions to problems that you might encounter when you use an Azure Automation account. For general information about Automation accounts, see [Create an Azure account](../automation-quickstart-create-account.md).
1515

1616
## <a name="rp-register"></a>Scenario: Unable to register Automation Resource Provider for subscriptions
1717

@@ -33,7 +33,7 @@ To register the Automation Resource Provider, follow these steps in the Azure po
3333

3434
1. From your browser, go to the [Azure portal](https://portal.azure.com).
3535

36-
2. Navigate to **Subscriptions** and select your subscription from the Subscriptions page.
36+
2. Go to **Subscriptions**, and select your subscription.
3737

3838
3. Under **Settings**, select **Resource Providers**.
3939

@@ -43,8 +43,8 @@ To register the Automation Resource Provider, follow these steps in the Azure po
4343

4444
## Next steps
4545

46-
If you don't see your problem above or can't resolve your issue, try one of the following channels for additional support:
46+
If this article doesn't resolve your issue, try one of the following channels for additional support:
4747

4848
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/).
49-
* Connect with [@AzureSupport](https://twitter.com/azuresupport), the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
50-
* File an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
49+
* Connect with [@AzureSupport](https://twitter.com/azuresupport). This is the official Microsoft Azure account for connecting the Azure community to the right resources: answers, support, and experts.
50+
* File an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/), and select **Get Support**.

articles/automation/troubleshoot/shared-resources.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ manager: carmonm
1111
---
1212
# Troubleshoot shared resources in Azure Automation
1313

14-
This article discusses solutions for issues that you might run across when using [shared resources](../automation-intro.md#shared-resources) in Azure Automation.
14+
This article discusses solutions for problems you might have when you're using [shared resources](../automation-intro.md#shared-resources) in Azure Automation.
1515

1616
>[!NOTE]
17-
>This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see [Introducing the new Azure PowerShell Az module](https://docs.microsoft.com/powershell/azure/new-azureps-module-az?view=azps-3.5.0). For Az module installation instructions on your Hybrid Runbook Worker, see [Install the Azure PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.5.0). For your Automation account, you can update your modules to the latest version using [How to update Azure PowerShell modules in Azure Automation](../automation-update-azure-modules.md).
17+
>This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module at the present time. To learn more about the new Az module and AzureRM compatibility, see [Introducing the new Azure PowerShell Az module](https://docs.microsoft.com/powershell/azure/new-azureps-module-az?view=azps-3.5.0). For Az module installation instructions on your Hybrid Runbook Worker, see [Install the Azure PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-3.5.0). For your Automation account, you can update your modules to the latest version by using [How to update Azure PowerShell modules in Azure Automation](../automation-update-azure-modules.md).
1818
1919
## Modules
2020

2121
### <a name="module-stuck-importing"></a>Scenario: A module is stuck during import
2222

2323
#### Issue
2424

25-
A module is stuck in the Importing state when you are importing or updating your Azure Automation modules.
25+
A module is stuck in the *Importing* state when you're importing or updating your Azure Automation modules.
2626

2727
#### Cause
2828

29-
Since importing PowerShell modules is a complex multistep process, a module might not import correctly and can be stuck in a transient state. To learn more about the import process, see [Importing a PowerShell Module](/powershell/scripting/developer/module/importing-a-powershell-module#the-importing-process).
29+
Because importing PowerShell modules is a complex, multistep process, a module might not import correctly, and can be stuck in a transient state. To learn more about the import process, see [Importing a PowerShell module](/powershell/scripting/developer/module/importing-a-powershell-module#the-importing-process).
3030

3131
#### Resolution
3232

33-
To resolve this issue, you must remove the module that is stuck in the Importing state by using the [Remove-AzAutomationModule](https://docs.microsoft.com/powershell/module/Az.Automation/Remove-AzAutomationModule?view=azps-3.7.0) cmdlet. You can then retry importing the module.
33+
To resolve this issue, you must remove the module that is stuck by using the [Remove-AzAutomationModule](https://docs.microsoft.com/powershell/module/Az.Automation/Remove-AzAutomationModule?view=azps-3.7.0) cmdlet. You can then retry importing the module.
3434

3535
```azurepowershell-interactive
3636
Remove-AzAutomationModule -Name ModuleName -ResourceGroupName ExampleResourceGroup -AutomationAccountName ExampleAutomationAccount -Force
@@ -48,7 +48,7 @@ Azure modules are being updated
4848

4949
#### Cause
5050

51-
There is a known issue with updating the AzureRM modules in an Automation account that's in a resource group with a numeric name starting with 0.
51+
There is a known issue with updating the AzureRM modules in an Automation account. Specifically, the problem occurs if the modules are in a resource group with a numeric name starting with 0.
5252

5353
#### Resolution
5454

@@ -58,7 +58,7 @@ To update your AzureRM modules in your Automation account, the account must be i
5858

5959
#### Issue
6060

61-
A module fails to import or it imports successfully, but no cmdlets are extracted.
61+
A module fails to import, or it imports successfully, but no cmdlets are extracted.
6262

6363
#### Cause
6464

@@ -71,7 +71,7 @@ Some common reasons that a module might not successfully import to Azure Automat
7171

7272
#### Resolution
7373

74-
Use any of these solutions to fix the issue.
74+
Use any of these solutions to fix the issue:
7575

7676
* Make sure that the module follows the format: ModuleName.zip -> ModuleName or Version Number -> (ModuleName.psm1, ModuleName.psd1).
7777
* Open the **.psd1** file and see if the module has any dependencies. If it does, upload these modules to the Automation account.
@@ -81,20 +81,20 @@ Use any of these solutions to fix the issue.
8181

8282
#### Issue
8383

84-
When using the [Update-AzureModule.ps1](https://github.com/azureautomation/runbooks/blob/master/Utility/ARM/Update-AzureModule.ps1) runbook to update your Azure modules, the module update process is suspended.
84+
When you're using the [Update-AzureModule.ps1](https://github.com/azureautomation/runbooks/blob/master/Utility/ARM/Update-AzureModule.ps1) runbook to update your Azure modules, the module update process is suspended.
8585

8686
#### Cause
8787

88-
The default setting to determine how many modules are updated simultaneously is 10 when using **Update-AzureModule.ps1**. The update process is prone to errors when too many modules are being updated at the same time.
88+
For this runbook, the default setting to determine how many modules are updated simultaneously is 10. The update process is prone to errors when too many modules are being updated at the same time.
8989

9090
#### Resolution
9191

92-
It's not common that all the AzureRM or Az modules are required in the same Automation account. It's recommended to only import the specific modules that you need.
92+
It's not common that all the AzureRM or Az modules are required in the same Automation account. You should only import the specific modules that you need.
9393

9494
> [!NOTE]
9595
> Avoid importing the entire `Az.Automation` or `AzureRM.Automation` module, which imports all contained modules.
9696
97-
If the update process suspends, add the `SimultaneousModuleImportJobCount` parameter to the **Update-AzureModules.ps1** script and provide a lower value than the default of 10. If you implement this logic, it's recommended to start with a value of 3 or 5. `SimultaneousModuleImportJobCount` is a parameter of the **Update-AutomationAzureModulesForAccount** system runbook that is used to update Azure modules. If you make this adjustment, the update process runs longer, but has a better chance of completing. The following example shows the parameter and where to put it in the runbook:
97+
If the update process suspends, add the `SimultaneousModuleImportJobCount` parameter to the **Update-AzureModules.ps1** script, and provide a lower value than the default of 10. If you implement this logic, try starting with a value of 3 or 5. `SimultaneousModuleImportJobCount` is a parameter of the **Update-AutomationAzureModulesForAccount** system runbook that is used to update Azure modules. If you make this adjustment, the update process runs longer, but has a better chance of completing. The following example shows the parameter and where to put it in the runbook:
9898

9999
```powershell
100100
$Body = @"
@@ -119,39 +119,39 @@ If the update process suspends, add the `SimultaneousModuleImportJobCount` param
119119

120120
#### Issue
121121

122-
When you try to create or update a Run As account, you receive an error similar to the following error message:
122+
When you try to create or update a Run As account, you receive an error similar to the following:
123123

124124
```error
125125
You do not have permissions to create…
126126
```
127127

128128
#### Cause
129129

130-
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.
130+
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.
131131

132132
#### Resolution
133133

134134
To create or update a Run As account, you must have appropriate [permissions](../manage-runas-account.md#permissions) to the various resources used by the Run As account.
135135

136-
If the issue is because of a lock, verify that the lock can be removed. Then navigate to the resource that is locked in Azure portal, right-click the lock, and click **Delete**.
136+
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**.
137137

138138
### <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
139139

140140
#### Issue
141141

142-
When executing a runbook you receive the following exception:
142+
When you're executing a runbook, you receive the following exception:
143143

144144
```error
145145
Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'
146146
```
147147

148148
#### Cause
149149

150-
This error is most likely caused by an incorrectly configured [Run As Account](../manage-runas-account.md).
150+
This error is most likely caused by an incorrectly configured [Run As account](../manage-runas-account.md).
151151

152152
#### Resolution
153153

154-
Make sure that your Run As account is properly configured. Then verify that you have the proper code in your runbook to authenticate with Azure. The following example shows a snippet of code to authenticate to Azure in a runbook using a Run As Account.
154+
Make sure that your Run As account is properly configured. Then verify that you have the proper code in your runbook to authenticate with Azure. The following example shows a snippet of code to authenticate to Azure in a runbook by using a Run As account.
155155

156156
```powershell
157157
$connection = Get-AutomationConnection -Name AzureRunAsConnection
@@ -161,8 +161,9 @@ Connect-AzAccount -ServicePrincipal -Tenant $connection.TenantID `
161161

162162
## Next steps
163163

164-
If you don't see your problem above or can't resolve your issue, try one of the following channels for additional support:
164+
If this article doesn't resolve your issue, try one of the following channels for additional support:
165165

166166
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/).
167-
* Connect with [@AzureSupport](https://twitter.com/azuresupport), the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
168-
* File an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
167+
* Connect with [@AzureSupport](https://twitter.com/azuresupport). This is the official Microsoft Azure account for connecting the Azure community to the right resources: answers, support, and experts.
168+
* File an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/), and select **Get Support**.
169+

0 commit comments

Comments
 (0)