Skip to content

Commit b07f195

Browse files
authored
Update runbooks.md
1 parent ed83681 commit b07f195

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/automation/troubleshoot/runbooks.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ ms.custom: has-adal-ref
2020
2121
## Diagnose runbook issues
2222

23-
When you receive errors during runbook execution in Azure Automation, you can use the following steps to help diagnose the issues.
23+
When you receive errors during runbook execution in Azure Automation, you can use the following steps to help diagnose the issues:
2424

2525
1. Ensure that your runbook script executes successfully on your local machine.
2626

2727
For language reference and learning modules, see the [PowerShell Docs](/powershell/scripting/overview) or [Python Docs](https://docs.python.org/3/). Running your script locally can discover and resolve common errors, such as:
2828

29-
* Missing modules.
30-
* Syntax errors.
31-
* Logic errors.
29+
* Missing modules
30+
* Syntax errors
31+
* Logic errors
3232

3333
1. Investigate runbook [error streams](../automation-runbook-output-and-messages.md#runbook-output).
3434

@@ -84,7 +84,7 @@ These errors occur if the credential asset name isn't valid. They might also occ
8484

8585
### Resolution
8686

87-
To determine what's wrong, follow these steps.
87+
To determine what's wrong, follow these steps:
8888

8989
1. Make sure that you don't have any special characters. These characters include the `\@` character in the Automation credential asset name that you're using to connect to Azure.
9090
1. Check to see if you can use the user name and password that are stored in the Azure Automation credential in your local PowerShell ISE editor. Run the following cmdlets in the PowerShell ISE.
@@ -97,7 +97,7 @@ To determine what's wrong, follow these steps.
9797
Connect-AzAccount –Credential $Cred
9898
```
9999

100-
1. If your authentication fails locally, you haven't set up your Azure Active Directory credentials properly. To get the Azure Active Directory account set up correctly, see the blog post [Authenticating to Azure using Azure Active Directory](https://azure.microsoft.com/blog/azure-automation-authenticating-to-azure-using-azure-active-directory/).
100+
1. If your authentication fails locally, you haven't set up your Azure Active Directory (Azure AD) credentials properly. To get the Azure AD account set up correctly, see the blog post [Authenticating to Azure using Azure Active Directory](https://azure.microsoft.com/blog/azure-automation-authenticating-to-azure-using-azure-active-directory/).
101101

102102
1. If the error appears to be transient, try adding retry logic to your authentication routine to make authenticating more robust.
103103

@@ -146,7 +146,7 @@ This error has two primary causes:
146146

147147
If you receive this error after you update one AzureRM or Az module, update all your modules to the same version.
148148

149-
If you're trying to access resources in another subscription, follow these steps to configure permissions.
149+
If you're trying to access resources in another subscription, follow these steps to configure permissions:
150150

151151
1. Go to the Automation Run As account, and copy the **Application ID** and **Thumbprint**.
152152

@@ -194,12 +194,12 @@ The subscription named <subscription name> cannot be found.
194194
This error can occur if:
195195

196196
* The subscription name isn't valid.
197-
* The Azure Active Directory (Azure AD) user who's trying to get the subscription details isn't configured as an administrator of the subscription.
197+
* The Azure AD user who's trying to get the subscription details isn't configured as an administrator of the subscription.
198198
* The cmdlet isn't available.
199199

200200
### Resolution
201201

202-
Follow these steps to determine if you've authenticated to Azure and have access to the subscription that you're trying to select.
202+
Follow these steps to determine if you've authenticated to Azure and have access to the subscription that you're trying to select:
203203

204204
1. To make sure that your script works standalone, test it outside of Azure Automation.
205205
1. Make sure that your script runs the [Connect-AzAccount](https://docs.microsoft.com/powershell/module/Az.Accounts/Connect-AzAccount?view=azps-3.7.0) cmdlet before running the `Select-*` cmdlet.
@@ -290,7 +290,7 @@ This error can be caused by using outdated Azure modules.
290290

291291
### Resolution
292292

293-
You can resolve this error by updating your Azure modules to the latest version.
293+
You can resolve this error by updating your Azure modules to the latest version:
294294

295295
1. In your Automation account, select **Modules**, and then select **Update Azure modules**.
296296
1. The update takes roughly 15 minutes. After it's finished, rerun the runbook that failed.
@@ -504,7 +504,7 @@ This error occurs when the job execution exceeds the 500-minute free quota for y
504504

505505
### Resolution
506506

507-
If you want to use more than 500 minutes of processing per month, change your subscription from the Free tier to the Basic tier.
507+
If you want to use more than 500 minutes of processing per month, change your subscription from the Free tier to the Basic tier:
508508

509509
1. Sign in to your Azure subscription.
510510
1. Select the Automation account to upgrade.

0 commit comments

Comments
 (0)