To investigate what is happening, you should use your Azure Activity Logs and look for the delete records.
I would also advise that you leverage Resource Locks on the SQL Database resource to prevent it from being deleted.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I am using a SQL database in Azure SQL Server. Recently, my database keeps being deleted without me noticing. When I figured it out, the database has been deleted. Luckily, I can restore it from Azure. But it keeps happening. So can anyone tell me what is going on?
Fyi, I only have one database in the SQL Server.
Thank you very much!
To investigate what is happening, you should use your Azure Activity Logs and look for the delete records.
I would also advise that you leverage Resource Locks on the SQL Database resource to prevent it from being deleted.
Hi Nguyễn Trần Phong •,
Welcome to Microsoft Q&A forum.
We are sorry about the inconvenience you are facing.
As I understand, your Azure SQL database is getting deleted.
The problem looks strange as mentioned that in activity log also there is no trace.
You could try to review if there is any Azure Policy which might be responsible for such operation.
Also, check if you could find the missing Database in Azure CLI if not via Portal.
If these options do not help, I would recommend you to raise support case for deeper investigation of the issue.
If you face any issue or need assistance do let us know.
Thank you.