Azure SQL Server auditing failure

Om Bhosle 60 Reputation points
2024-12-20T09:40:48.6233333+00:00

error.png

Hello All, I received this alert and I re-enabled the Azure SQL Auditing. So is my issue solved or I still need to be cautious about it. Also I need to need to know the reason of this alert arising and if this comes again then what are the steps that I should follow.

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. NIKHILA NETHIKUNTA 3,925 Reputation points Microsoft Vendor
    2024-12-20T14:25:55.36+00:00

    @Om Bhosle
    Thank you for the question ad for using Microsoft Q&A platform.

    Enabling Azure SQL Auditing is a good step, but it's important to ensure that the underlying issue causing the alert is fully resolved. Here are some steps and considerations to help you address the alert and prevent it from recurring:

    1)If the storage account key was regenerated, the auditing settings would need to be updated to reflect the new key. By re-saving the auditing settings in the Azure Portal, you should have resolved this issue.
    2) If the storage account has specific network rules or firewall settings that prevent the SQL server from writing logs, you would need to ensure that the SQL server is allowed to access the storage account. Check the network settings and ensure that the SQL server's IP address or service endpoint is allowed.
    3) If the subscription associated with the storage account is disabled, the storage account would be read-only, and auditing would fail. Ensure that your subscription is active.

    To resolve the issue, you can follow these steps:

    By following these steps, you should be able to address the alert and prevent it from recurring.

    For more information, please refer to the below links:
    https://learn.microsoft.com/en-us/azure/azure-sql/database/auditing-overview?view=azuresql&source=recommendations
    https://learn.microsoft.com/en-us/azure/azure-sql/database/audit-write-storage-account-behind-vnet-firewall?view=azuresql
    https://learn.microsoft.com/en-us/azure/azure-sql/database/auditing-best-practices?view=azuresql

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

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.