This section provides information about the prerequisites for monitoring SQL Azure database and Azure Elastic Pools.
This section covers the following key areas:
Following are the permissions required to monitor Azure SQL database:
The CREATE USER permission is not included in the script, as this command is not supported within a batch in Azure SQL.
On the DTU model:
Basic, Standard 0, and Standard 1 tiers require server admin permission or an Azure Active Directory admin account (VIEW SERVER STATE permission).
Standard 2 and above tiers as well as Premium tiers require VIEW DATABASE STATE permission.
The following permissions are required at the elastic pool level:
The file used for manually granting permissions, DB_Azure_Grant_Permission_Script.sql, can be obtained by clicking on the ‘View script’ link located under the Instances table. This option is accessible through either of the following methods:
Running this file requires one of the following server roles:
Server admin
Active Directory admin
Member of the db_owner
To manually run the Grant Permissions script:
After setting the pre-requisites, you can install and monitor the Azure SQL server instance. For more information, refer to Installing and Monitoring a Single Azure SQL Server Instance.