# Azure VM Integration in Dynatrace

**URL:** <https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382>\
**Category:** Cloud platforms\
**Tags:** azure\
**Created:** [October 31, 2023, 12:25pm UTC](https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382 "2023-10-31T12:25:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Munzir](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Munzir](https://community.dynatrace.com/u/Munzir)\
**Post date:** [October 31, 2023, 12:25pm UTC](https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382/1 "2023-10-31T12:25:16Z")

</div>

I want to integrate Azure in dynatrace (Azure Integration), after going through the docs it is asking me to create a service principal which i am not getting, no videos related to integration on Youtube.

Please guide, Thanks.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [October 31, 2023, 1:04pm UTC](https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382/2 "2023-10-31T13:04:19Z")

</div>

You have it nicely described in the documentation:

_For Dynatrace to monitor your services, you need at least reader permissions. The steps below describe adding the service principal reader permissions and refer to a common, single-tenant access approach. Before that, we recommend getting familiar with our recommendations regarding [how to configure Azure service principal to avoid Azure throttling limits](https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/microsoft-azure-services/azure-integrations/azure-monitoring-guide/limit-api-calls-to-azure#service-principal)._

> **[Monitor Azure services with Azure Monitor metrics](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services-classic/azure-integrations/azure-monitoring-guide)**
>
> Set up and configure Azure monitoring in Dynatrace.

When you follow the instructions in the documentation you get an error?

Radek

---

<div class="post-metadata">

**Author:** ![RazTN7](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/raztn7/32/10208_2.png) [@RazTN7](https://community.dynatrace.com/u/RazTN7)\
**Post date:** [October 31, 2023, 1:06pm UTC](https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382/3 "2023-10-31T13:06:52Z")

</div>

Hello Munzir,  
Did you get change to see below doc for service principal.

- [Limit API calls to Azure — Dynatrace Docs](https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/microsoft-azure-services/azure-integrations/azure-monitoring-guide/limit-api-calls-to-azure#service-principal)
- [Apps & service principals in Microsoft Entra ID - Microsoft identity platform | Microsoft Learn](https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser#service-principal-object)
- [Use Azure service principals with Azure PowerShell | Microsoft Learn](https://learn.microsoft.com/en-us/powershell/azure/create-azure-service-principal-azureps?view=azps-10.4.1&viewFallbackFrom=azps-7.5.0)&nbsp; &nbsp;(using shell)

Available in doc:

To create a service principal in Azure Portal, you must register your application in the Azure Active Directory and grant access permissions for your service principal.

To register your application

1. Go to the Azure Management Portal and select&nbsp; **Azure Active Directory**.
2. Copy the value of&nbsp; **Tenant ID** &nbsp;and save it as&nbsp;Tenant ID&nbsp;for future retrieval. This is required to&nbsp;[configure Dynatrace to connect to your Azure account](https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-cloud-platforms/microsoft-azure-services/azure-integrations/azure-monitoring-guide#azureconfig-connect).
3. Select&nbsp; **App registrations** &nbsp;in the navigation pane of the selected Active Directory.
4. Select&nbsp; **New registration** &nbsp;at the top of the App registrations blade and type the name of your application.
5. Leave all other settings with their default values and select&nbsp; **Register**.
6. Copy the value of&nbsp;**Application (client) ID**&nbsp;and save it as&nbsp;Client ID&nbsp;for future retrieval.
7. Select&nbsp; **Certificates & secrets** &nbsp;\>&nbsp; **New client secret** &nbsp;to create a new security key.
8. Enter a key description, choose the desired key duration, and then select&nbsp; **Add** &nbsp;to save the new key.
9. Copy the value of&nbsp; **Value** &nbsp;and save it as&nbsp;Secret Key&nbsp;for future retrieval.

Hope this helps..

Cheers!

RN

---

<div class="post-metadata">

**Author:** ![Munzir](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Munzir](https://community.dynatrace.com/u/Munzir)\
**Post date:** [October 31, 2023, 1:19pm UTC](https://community.dynatrace.com/t/azure-vm-integration-in-dynatrace/42382/4 "2023-10-31T13:19:57Z")

</div>

Thanks Ramesh, you have described it quite nicely.

I will go through the steps which you have mentioned and will update if i face any errors.

Thank You.
