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/troubleshoot/automation-account.md
+7-7Lines changed: 7 additions & 7 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: Automation account troubleshooting
2
+
title: Azure Automation account troubleshooting
3
3
description: Learn how to troubleshoot and resolve issues with an Azure account.
4
4
services: automation
5
5
author: mgoedtel
@@ -9,9 +9,9 @@ ms.topic: conceptual
9
9
ms.service: automation
10
10
manager: carmonm
11
11
---
12
-
# Troubleshoot the Automation account
12
+
# Troubleshoot an Azure Automation account
13
13
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).
15
15
16
16
## <aname="rp-register"></a>Scenario: Unable to register Automation Resource Provider for subscriptions
17
17
@@ -33,7 +33,7 @@ To register the Automation Resource Provider, follow these steps in the Azure po
33
33
34
34
1. From your browser, go to the [Azure portal](https://portal.azure.com).
35
35
36
-
2.Navigate to **Subscriptions** and select your subscription from the Subscriptions page.
36
+
2.Go to **Subscriptions**, and select your subscription.
37
37
38
38
3. Under **Settings**, select **Resource Providers**.
39
39
@@ -43,8 +43,8 @@ To register the Automation Resource Provider, follow these steps in the Azure po
43
43
44
44
## Next steps
45
45
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:
47
47
48
48
* 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**.
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/shared-resources.md
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,26 +11,26 @@ manager: carmonm
11
11
---
12
12
# Troubleshoot shared resources in Azure Automation
13
13
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.
15
15
16
16
>[!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 moduleat 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).
18
18
19
19
## Modules
20
20
21
21
### <aname="module-stuck-importing"></a>Scenario: A module is stuck during import
22
22
23
23
#### Issue
24
24
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.
26
26
27
27
#### Cause
28
28
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).
30
30
31
31
#### Resolution
32
32
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.
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.
52
52
53
53
#### Resolution
54
54
@@ -58,7 +58,7 @@ To update your AzureRM modules in your Automation account, the account must be i
58
58
59
59
#### Issue
60
60
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.
62
62
63
63
#### Cause
64
64
@@ -71,7 +71,7 @@ Some common reasons that a module might not successfully import to Azure Automat
71
71
72
72
#### Resolution
73
73
74
-
Use any of these solutions to fix the issue.
74
+
Use any of these solutions to fix the issue:
75
75
76
76
* Make sure that the module follows the format: ModuleName.zip -> ModuleName or Version Number -> (ModuleName.psm1, ModuleName.psd1).
77
77
* 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.
81
81
82
82
#### Issue
83
83
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.
85
85
86
86
#### Cause
87
87
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.
89
89
90
90
#### Resolution
91
91
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.
93
93
94
94
> [!NOTE]
95
95
> Avoid importing the entire `Az.Automation` or `AzureRM.Automation` module, which imports all contained modules.
96
96
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:
98
98
99
99
```powershell
100
100
$Body = @"
@@ -119,39 +119,39 @@ If the update process suspends, add the `SimultaneousModuleImportJobCount` param
119
119
120
120
#### Issue
121
121
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:
123
123
124
124
```error
125
125
You do not have permissions to create…
126
126
```
127
127
128
128
#### Cause
129
129
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.
131
131
132
132
#### Resolution
133
133
134
134
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.
135
135
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**.
137
137
138
138
### <aname="iphelper"></a>Scenario: You receive the error "Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'" when executing a runbook
139
139
140
140
#### Issue
141
141
142
-
When executing a runbook you receive the following exception:
142
+
When you're executing a runbook, you receive the following exception:
143
143
144
144
```error
145
145
Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'
146
146
```
147
147
148
148
#### Cause
149
149
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).
151
151
152
152
#### Resolution
153
153
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.
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:
165
165
166
166
* 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**.
0 commit comments