SQL MI Encryption is not automatic

JoelP 366 Reputation points
2023-05-02T05:51:16.7466667+00:00

Hi,

Can you advise if this is normal? Create new SQL MI, TDE is enabled, we restored user databases and noticed that the default encryption for the restored db are switch off.

I had to run script to set ENCRYPTION ON.

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. SSingh-MSFT 16,371 Reputation points Moderator
    2023-05-03T08:54:04.4733333+00:00

    Hi
    Joel Prescilla
    •,

    Thanks for the detailed response.

    There is a Note in Microsoft documentation here which states that:

    All newly created databases in SQL Database are encrypted by default by using service-managed transparent data encryption. Existing SQL databases created before May 2017 and SQL databases created through restore, geo-replication, and database copy are not encrypted by default. Existing SQL Managed Instance databases created before February 2019 are not encrypted by default. SQL Managed Instance databases created through restore inherit encryption status from the source. To restore an existing TDE-encrypted database, the required TDE certificate must first be imported into the SQL Managed Instance.

    User's image

    Reference Link: Transparent data encryption for SQL Database, SQL Managed Instance, and Azure Synapse Analytics

    Hope this helps. If this answers your query, do click Accept Answer and Mark Helpful for the same. And, if you have any further query do let us know.

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.