Professional Documents
Culture Documents
The SQL Server assessment allows you to diagnose potential issues with your SQL Server
environment running on-premises, on Microsoft Azure Virtual Machines (VMs), or on
Amazon Web Services (AWS) VMs. You can assess a single server, multiple servers, or
failover cluster running SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server
2017 or SQL Server 2019 instances, Windows Server 2008, Windows Server 2008 R2,
Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server
2019 failover cluster, or standalone server installations are supported.
The recommendations cover areas such as change control, monitoring, disaster recovery,
service-level agreements, configuration items, and the proper function of the major
components of the SQL environment.
This assessment is designed to provide you specific actionable guidance grouped in Focus
Areas to mitigate risks to your SQL Servers and your organization.
Prerequisites
To take full advantage of the On-Demand Assessments available through Services Hub, you
must:
1. Have linked an active Azure subscription to Services Hub and added the SQL Server
Assessment. For more information, see Getting Started with On-Demand Assessments
or watch the how to link video.
2. Download and install the Microsoft Monitoring Agent and choose the appropriate
agent setup on a supported Windows Server machine. You can also watch the video
guides for how to install the agent and how to configure the gateway.
3. A domain account (User or Managed Service Account) with the following rights:
4. Review the Pre-Requisites document for the SQL Server Assessment. This document
explains the detailed technical documentation of the SQL Server Assessment and the
server preparation needed to run the assessment. It also documents the different
types of data collected by the assessment.
7 Note
7 Note
You will only be able to successfully setup the assessment once you have linked your
Azure Subscription to Services Hub and added the SQL Server Assessment from
Health > Assessments in Services Hub.
1. On the data collection machine, create the following folder:
C:\LogAnalytics\SQLServer (or any other folder you want).
2. If you're using a User Domain Account Open regular PowerShell (not ISE) in
Administrator mode and run the below cmdlet:
<Directory>
where YourServerName is the fully qualified domain name (FQDN) or the NetBIOS
If more than one environment is assessed, “;” is used between the environments. For
failover cluster, check failover cluster virtual network name. Directory is the path to an
existing directory used to store the files created while collecting and analyzing the data
from the environment(s). Provide the required user account credentials that satisfy the
requirements mentioned in this article earlier.
3. If you're using a Group Managed Service Account Open regular PowerShell (not ISE)
in Administrator mode and run the below cmdlet:
where YourServerName is the fully qualified domain name (FQDN) or the NetBIOS
name of single server or failover cluster running SQL Server environment. When
prompted for password just press enter, as you are using a gMSA you don't need to
If more than one environment is assessed, “;” is used between the environments. For
failover cluster, check failover cluster virtual network name. Directory is the path to an
existing directory used to store the files created while collecting and analyzing the data
from the environment(s). Provide the required user account credentials that satisfy the
requirements mentioned in this article earlier.
Have feedback?
If you have general feedback on the Resource Center or its content, contact your Microsoft
representative. If you have any specific requests or content updates for Services Hub,
contact our Support Team .
Feedback
Was this page helpful? ツ Yes ト No