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: docs/sql-server/azure-arc/troubleshoot-assessment.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,39 +103,39 @@ In case any of the components are missing, do the following:
103
103
2. If there are any issues with the deployment of the Azure Monitor Agent, verify that the Arc machine is connected.
104
104
3. The deployment can always be retriggered with the same Log Analytics workspace by clicking on the **Enable assessment** button.
105
105
106
-
## Change the Log Analytical workspace
106
+
## Change the Log Analytics workspace
107
107
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.
109
109
110
110
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
118
112
119
113
```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",
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
136
115
```
137
116
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",
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.
166
166
167
167
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)
0 commit comments