Skip to content

Commit 0fb0a2e

Browse files
authored
Merge pull request #891 from anosov1960/master
Tweaked the runbook steps
2 parents 0730ed2 + 8503659 commit 0fb0a2e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

samples/manage/azure-hybrid-benefit/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Use the following steps to calculate the SQL Server license usage:
125125
You can track your license utilization over time by running this script on schedule as a runbook. To set it up using Azure Portal, follow these steps.
126126

127127
1. [Create a new automation account](https://ms.portal.azure.com/#create/Microsoft.AutomationAccount) or use an existing one.
128-
1. Select *Credentials* in the **Shared resources** group and create a credential object with the database username and password. The script will use these to connect to the specified database and save data.
128+
1. Select *Credentials* in the **Shared resources** group and create a credential object with the database username and password. The script will use these to connect to the specified database to save the license utilization data.
129129
1. Select *Modules* in the **Shared resources** group and make sure your automation account have the following PowerShell modules installed. If not, add them from the Gallery.
130130
- Az.Accounts
131131
- Az.Compute
@@ -140,11 +140,10 @@ You can track your license utilization over time by running this script on sched
140140
- SUBID. Leave it blank if you want to scan all the subscriptions
141141
- SERVER. Put in the SQL Server connection endpoint (e.g. my-westus2-sql-server.database.windows.net)
142142
- CRED. Put in the name of the credential object you created in Step 2.
143-
- DATABASE. Put in the database name where you want to save the license information.
144-
- USEINRUNBOOKS. Select True.
145-
143+
- DATABASE. Put in the database name where you want to save the license utilization data.
144+
- USEINRUNBOOKS. Select True to activate the logic that authenticates the runbook using the Run As account that was automatically created when you created your Automation account.
145+
146146
For more information about the runbooks, see the [Runbook tutorial](https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-powershell)
147147

148148
>[!IMPORTANT]
149-
> - Because the script accesses the resources across multiple subscriptions, the runbook must be able to authenticate using the Run As account that was automatically created when you created your Automation account. The logic required for the Runbooks is part of the script.
150-
> - When running the script as a runbook, it is b=necessary to use a database to ensure that the results can be analyzed outside of the runbook.
149+
> When running the script as a runbook, it is necessary to use a database to ensure that the results can be analyzed outside of the runbook.

0 commit comments

Comments
 (0)