Freigeben über

Azure SQL Server key vault access lost for one database which is using server level encryption

Toni August 0 Zuverlässigkeitspunkte
2026-06-23T13:03:49.0766667+00:00

We use an Azure SQL Server with a couple databases in an elastic pool. A week ago one of the databases went into "Inaccessible" status.

On the TDE settings page for the database I get this message:

Access to Azure Key Vault has been lost for the server of this database. Follow the troubleshooting steps below to resolve this issue. Existing data will be inaccessible until this issue is resolved.

On the TDE settings page for the SQL Server I get this message:

Access to Azure Key Vault has been lost for this server. Follow the troubleshooting steps below to resolve this issue. Existing data will be inaccessible until this issue is resolved.

The SQL Server is using a Service-managed key for encryption and this was always set like this. The database which is having the issue temporarily used a Database level customer-managed key (CMK) but this was set back to Server-level encryption key 2 weeks ago and the database was working fine until 1 week ago where it was set to inaccesible probably through an automated process because it happened outside of our working hours and there is no username attached to the log entry.

Is there any way to resolve this? There is not much I can do in the Azure portal itself. The SQL Server is set to service-managed key and the database to server level encryption so there should be no key vault involved which is managed by us.

Thank you!

Azure SQL-Datenbank

Ihre Antwort

Antworten können von Fragestellenden als „Angenommen“ und von Moderierenden als „Empfohlen“ gekennzeichnet werden, wodurch Benutzende wissen, dass diese Antwort das Problem des Fragestellenden gelöst hat.