Skip to content

Commit da1bf05

Browse files
committed
Update some terminology and indentation
1 parent d1de671 commit da1bf05

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

docs/sql-server/azure-arc/troubleshoot-assessment.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -103,39 +103,39 @@ In case any of the components are missing, do the following:
103103
2. If there are any issues with the deployment of the Azure Monitor Agent, verify that the Arc machine is connected.
104104
3. The deployment can always be retriggered with the same Log Analytics workspace by clicking on the **Enable assessment** button.
105105

106-
## Change the Log Analytical workspace
106+
## Change the Log Analytics workspace
107107

108-
To change the Log Analytical workspace that is linked for the best practices assessment, follow the steps below.
108+
To change the Log Analytics workspace that is linked for the best practices assessment, follow the steps below.
109109

110110
1. Disable best practices assessment if it's currently enabled.
111-
2. Make a GET call to the API and get the Azure extension for SQL Server settings
112-
113-
```powershell
114-
GET https://edge.management.azure.com/subscriptions/ <subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.HybridCompute/machines/<arc-resource-name>/extensions/WindowsAgent.SqlServer?api-version=2022-03-10
115-
```
116-
117-
The best practices assessment settings before the change.
111+
1. Make a GET call to the API and get the Azure extension for SQL Server settings
118112

119113
```powershell
120-
"AssessmentSettings": {
121-
"Enable": true,
122-
"RunImmediately": true,
123-
"schedule": {
124-
"dayOfWeek": "Sunday",
125-
"Enable": true,
126-
"monthlyOccurrence": null,
127-
"StartDate": null,
128-
"startTime": "00:00",
129-
"WeeklyInterval": 1
130-
},
131-
"WorkspaceResourceId": "/subscriptions/<subscriptionID>/resourceGroups/<Resource group name>/providers/Microsoft.OperationalInsights/workspaces/shivgupta-bpa-test-la-ws",
132-
"WorkspaceLocation": "<Region>",
133-
"ResourceNamePrefix": "<Log analytical workspace name>",
134-
"settingsSaveTime": 1673278632
135-
}
114+
GET https://edge.management.azure.com/subscriptions/ <subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.HybridCompute/machines/<arc-resource-name>/extensions/WindowsAgent.SqlServer?api-version=2022-03-10
136115
```
137116

138-
1. Update the Workspace related settings to null as below.
117+
The best practices assessment settings before the change.
118+
119+
```powershell
120+
"AssessmentSettings": {
121+
"Enable": true,
122+
"RunImmediately": true,
123+
"schedule": {
124+
"dayOfWeek": "Sunday",
125+
"Enable": true,
126+
"monthlyOccurrence": null,
127+
"StartDate": null,
128+
"startTime": "00:00",
129+
"WeeklyInterval": 1
130+
},
131+
"WorkspaceResourceId": "/subscriptions/<subscriptionID>/resourceGroups/<Resource group name>/providers/Microsoft.OperationalInsights/workspaces/shivgupta-bpa-test-la-ws",
132+
"WorkspaceLocation": "<Region>",
133+
"ResourceNamePrefix": "<Log analytics workspace name>",
134+
"settingsSaveTime": 1673278632
135+
}
136+
```
137+
138+
1. Update the workspace related settings to null as below.
139139
140140
```powershell
141141
"AssessmentSettings": {
@@ -162,7 +162,7 @@ To change the Log Analytical workspace that is linked for the best practices ass
162162
PATCH https://management.azure.com/subscriptions/ <subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.HybridCompute/machines/<arc-resource-name>/extensions/WindowsAgent.SqlServer?api-version=2022-08-11-preview
163163
```
164164

165-
1. Go to Best Practice Assessment page on your Arc-enabled SQL Server resource page in the Azure portal and re-enable best practices assessment and select a new log analytical workspace.
165+
1. Go to Best Practice Assessment page on your Arc-enabled SQL Server resource page in the Azure portal and re-enable best practices assessment and select a new log analytics workspace.
166166

167167
For more assistance, create a support ticket with Microsoft and attach the log files. Visit, [Create an Azure support request](/azure/azure-portal/supportability/how-to-create-azure-support-request)
168168

0 commit comments

Comments
 (0)