# Monitoring Azure SQL Managed Instance with Dynatrace SQL Server Extension

**URL:** <https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463>\
**Category:** Extensions\
**Tags:** databases, azure, extensions\
**Created:** [February 15, 2023, 9:55pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463 "2023-02-15T21:55:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbottrell404](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jbottrell404](https://community.dynatrace.com/u/jbottrell404)\
**Post date:** [February 15, 2023, 9:55pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/1 "2023-02-15T21:55:00Z")

</div>

Hello,

Our environment has a few Azure SQL Managed Instances which we would like to monitor with Dynatrace. We’ve already enabled the Azure Monitor integration, but would like to see the breakdown of performance for each database.

I see in the SQL Server Extension page in the Dynatrace hub there is a mention of permissions needed on the Azure side to make the connection work (screenshot attached), so I would assume that it’s possible. However, I am unable to get the extension to work with our SQL MI’s. Is there any documentation on the Dynatrace side on how to enable this integration, or any tutorials out there that might help us find the right configuration?

Thanks in advance&nbsp;

 ![2023-02-15 16_53_10-Microsoft SQL Server monitoring _ Dynatrace Docs.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/290d7f8e7884107d03e426b6f7b2d91369f3d02a.png)

---

<div class="post-metadata">

**Author:** ![vagiz\_duseev](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vagiz_duseev/32/39484_2.png) [@vagiz\_duseev](https://community.dynatrace.com/u/vagiz_duseev)\
**Post date:** [February 16, 2023, 3:20pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/2 "2023-02-16T15:20:38Z")

</div>

Hi,

For our internal test setup that monitors Azure SQL managed instance we’ve followed the instructions from Microsoft documentation:&nbsp;[sys.dm\_os\_performance\_counters (Transact-SQL) - SQL Server | Microsoft Learn](https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-os-performance-counters-transact-sql?view=sql-server-ver15#permission)

\>&nbsp;On SQL Server and SQL Managed Instance, requires&nbsp;`VIEW SERVER STATE`&nbsp;permission.

\> On SQL Database&nbsp; **Basic** ,&nbsp; **S0** , and&nbsp; **S1** &nbsp;service objectives, and for databases in&nbsp; **elastic pools** , the&nbsp;[server admin](https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage#existing-logins-and-user-accounts-after-creating-a-new-database)&nbsp;account, the&nbsp;[Azure Active Directory admin](https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-overview#administrator-structure)&nbsp;account, or membership in the&nbsp;`##MS_ServerStateReader##`&nbsp;[server role](https://learn.microsoft.com/en-us/azure/azure-sql/database/security-server-roles)&nbsp;is required. On all other SQL Database service objectives, either the&nbsp;`VIEW DATABASE STATE`&nbsp;permission on the database, or membership in the&nbsp;`##MS_ServerStateReader##`&nbsp;server role is required.

---

<div class="post-metadata">

**Author:** ![jbottrell404](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jbottrell404](https://community.dynatrace.com/u/jbottrell404)\
**Post date:** [February 20, 2023, 9:05pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/3 "2023-02-20T21:05:25Z")

</div>

Thank you, this is exactly what I needed.

---

<div class="post-metadata">

**Author:** ![michael\_loizzi](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@michael\_loizzi](https://community.dynatrace.com/u/michael_loizzi)\
**Post date:** [August 15, 2024, 9:15pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/4 "2024-08-15T21:15:17Z")

</div>

Hi there I have a similar issue.&nbsp; &nbsp;Do we have examples of a working configuration that connects to Azure MSSQL Managed instance via the extension?

---

<div class="post-metadata">

**Author:** ![AjithaN](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@AjithaN](https://community.dynatrace.com/u/AjithaN)\
**Post date:** [March 11, 2025, 6:13pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/5 "2025-03-11T18:13:46Z")

</div>

Hi,

Does anyone have a working reference to the same issue mentioned in the thread. I need to enable Azure SQL Agent jobs monitoring in Dynatrace. As&nbsp; per dynatrace documentation, Microsoft sql server extension supports managed instances and hence installed the same and configured azure monitoring end points, enabled jobs feature sets , but doesn’t seem to serve the purpose here. Any suggestions ?

[SQL Server Monitoring | Dynatrace Hub](https://www.dynatrace.com/hub/detail/microsoft-sql-server-2/)

---

<div class="post-metadata">

**Author:** ![kayjayeff1](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kayjayeff1](https://community.dynatrace.com/u/kayjayeff1)\
**Post date:** [November 5, 2025, 2:27pm UTC](https://community.dynatrace.com/t/monitoring-azure-sql-managed-instance-with-dynatrace-sql-server-extension/38463/6 "2025-11-05T14:27:59Z")

</div>

Based on the current SQL Extension documentation it doesn’t look like it can monitor Azure SQL Managed Instance SQL Agent Jobs.&nbsp; In the attached screenshot it references “SQL Server (all versions)”; however, in other sections of the doc “SQL Managed Instance” is called out separately.

I am looking for confirmation that the SQL Extension can, or cannot, monitor SQL Agent Jobs for Azure SQL Managed Instance DBs.

 ![kayjayeff1_0-1762352794787.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5f7df57f70a38bfeee88e09cd784ef71e32ffd4e.png)
