# Hashicorp Vault - Auto unseal with Azure Keyvault

**URL:** <https://discuss.hashicorp.com/t/hashicorp-vault-auto-unseal-with-azure-keyvault/73134>\
**Category:** Vault\
**Tags:** vault, azure\
**Created:** [February 10, 2025, 2:47pm UTC](https://discuss.hashicorp.com/t/hashicorp-vault-auto-unseal-with-azure-keyvault/73134 "2025-02-10T14:47:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ConnorOKane-Kainos](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/connorokane-kainos/32/44777_2.png) [@ConnorOKane-Kainos](https://discuss.hashicorp.com/u/ConnorOKane-Kainos)\
**Post date:** [February 10, 2025, 2:47pm UTC](https://discuss.hashicorp.com/t/hashicorp-vault-auto-unseal-with-azure-keyvault/73134/1 "2025-02-10T14:47:26Z")

</div>

Hey,

I am trying to enable the vault auto unseal feature.

I have done the following:

1. Created a service principal
2. Added API permissions for Microsoft Graph to the service principal
3. Created a KeyVault for the auto unseal
4. The vault servers are created within 3 VM’s and running
5. Added the seal config to the vault configuration vault

Whenever I go and try to restart the vault after updating the vault config file I get the following error:

This is the error I get when I update the vault config file and try to restart it:

sudo systemctl restart vault

**Job for vault.service failed because the control process exited with error code.**

**See “systemctl status vault.service” and “journalctl -xeu vault.service” for details.**

Then whenever I remove the seal config and restart it works fine

Can someone please help me out?
