# Azure Key Vault monitoring - Alert on secret failure

**URL:** <https://community.dynatrace.com/t/azure-key-vault-monitoring-alert-on-secret-failure/48052>\
**Category:** Alerting\
**Tags:** azure, problem-notification, problems-classic\
**Created:** [September 30, 2024, 2:43pm UTC](https://community.dynatrace.com/t/azure-key-vault-monitoring-alert-on-secret-failure/48052 "2024-09-30T14:43:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DStockland](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@DStockland](https://community.dynatrace.com/u/DStockland)\
**Post date:** [September 30, 2024, 2:43pm UTC](https://community.dynatrace.com/t/azure-key-vault-monitoring-alert-on-secret-failure/48052/1 "2024-09-30T14:43:33Z")

</div>

Hello,

My team is working to integrate AKV with Dynatrace.&nbsp; We have the implementation configured and are seeing metrics on the key vault itself.&nbsp; I know I can set alerting for backend services, app pool failures, synthetics etc… but, I was curious if anyone knows if there’s a way to alert when pulling a secret fails.&nbsp; Trying to get as many hooks in as I can.&nbsp; First time performing this type of integration.

Any help is appreciated and I’d be happy to share any extra info you all may have.

Regards,

DS

---

<div class="post-metadata">

**Author:** ![Gosia\_Murawska](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@Gosia\_Murawska](https://community.dynatrace.com/u/Gosia_Murawska)\
**Post date:** [December 17, 2024, 10:24am UTC](https://community.dynatrace.com/t/azure-key-vault-monitoring-alert-on-secret-failure/48052/2 "2024-12-17T10:24:55Z")

</div>

Hi&nbsp;[@DStockland](https://community.dynatrace.com/user/62202), did you manage to work this out? It would be great if you share it with the Community 🙂

---

<div class="post-metadata">

**Author:** ![DStockland](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@DStockland](https://community.dynatrace.com/u/DStockland)\
**Post date:** [December 17, 2024, 5:34pm UTC](https://community.dynatrace.com/t/azure-key-vault-monitoring-alert-on-secret-failure/48052/3 "2024-12-17T17:34:03Z")

</div>

Hi&nbsp;[@GosiaMurawska](https://community.dynatrace.com/user/77704)!&nbsp; I’m not 100% sure this is the correct solution, but what we did was we synchronized with the external vault ([External vault integration in Classic — Dynatrace Docs](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/general-information/external-vault-integration#azure-key-vault)).&nbsp; This in turn creates a http monitor between Dynatrace and Azure Key Vault.&nbsp; If DT fails to update its secrets, we send out an alert.

We also looked into creating a custom alert that looked at the AKV service, but there is not enough verbose info coming from the application that could make a solid determination (at this time) that it failed to pull a secret.

Hope this helps!
