Update new storage account key in Auditing Logs for SQL Server Service in Azure

Jonathan Vasquez Chicata (AEGIS COMPANY) 20 Reputation points Microsoft External Staff
2023-12-28T10:38:57.2766667+00:00

I have a SQL server service with Auditing Logs enabled and I'm using a storage account to store the logs using its access key. I will renew the storage account keys; how can I update the new key in my Auditing log configuration in order to not lose my daily logs? or If I renew the key, it will automatically update in my Auditing Logs settings.2023-12-28 05_38_00-azccrmscsmprd01 - Microsoft Azure and 18 more pages - Work - Microsoft​ Edge

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,415 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 37,876 Reputation points Microsoft Employee
    2023-12-28T19:46:34.47+00:00

    @Jonathan Vasquez Chicata (AEGIS COMPANY)

    When you rotate the key in Azure there is no need to update SQL Auditing to use the new key. This is automatically done for you. Please note that before you rotate the key you can switch between Primary and Secondary access key to maintain completeness of the logs. This is noted in the portal.User's image

    Hope this helps! Let me know if you have other questions.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A! User's image

    1 person found this answer helpful.
    0 comments No comments

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.