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: samples/manage/azure-hybrid-benefit/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ Use the following steps to calculate the SQL Server license usage:
125
125
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.
126
126
127
127
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.
129
129
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.
130
130
- Az.Accounts
131
131
- Az.Compute
@@ -140,11 +140,10 @@ You can track your license utilization over time by running this script on sched
140
140
- SUBID. Leave it blank if you want to scan all the subscriptions
141
141
- SERVER. Put in the SQL Server connection endpoint (e.g. my-westus2-sql-server.database.windows.net)
142
142
- 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
+
146
146
For more information about the runbooks, see the [Runbook tutorial](https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-powershell)
147
147
148
148
>[!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