MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Storage retention via diagnostic settings is being deprecated and new rules can no longer be configured. #120025

Closed WiseK closed 8 months ago

WiseK commented 8 months ago

[Enter feedback here] Storage retention via diagnostic settings is being deprecated and new rules can no longer be configured. To maintain your existing retention rules please migrate to Azure Storage Lifecycle Management by September 30th 2025. What do I need to do?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AjayBathini-MSFT commented 8 months ago

@WiseK Thanks for your feedback! We will investigate and update as appropriate.

AjayBathini-MSFT commented 8 months ago

@WiseK

If you have existing retention rules configured via diagnostic settings for your Azure Storage account, you will need to migrate to Azure Storage Lifecycle Management by September 30th, 2025 to maintain your retention rules.

To migrate your retention rules, you can follow these steps:

Create a new lifecycle management policy in the Azure portal by navigating to your storage account, selecting "Lifecycle management" under the "Blob service" section, and clicking "Add rule". Configure the policy to match your existing retention rules, including the retention period and any other criteria. Save the policy and ensure that it is applied to the appropriate containers or blobs. Once you have migrated your retention rules to Azure Storage Lifecycle Management, you can delete any existing diagnostic settings that were used for retention.

It's important to note that while new retention rules cannot be configured via diagnostic settings, you can still use diagnostic settings to send logs and metrics to other destinations such as Azure Monitor or Event Hubs.

you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. [Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)

Thank you for your time and patience throughout this issue.

I hope this helps! Let me know if you have any other questions.

dknappettmsft commented 8 months ago

Hi @WiseK - the settings when selecting to archive to a storage account do still save. I've reached out to the team to get clarity on this for the deprecation timeline.

dknappettmsft commented 8 months ago

I've added a note to this article to highlight the need to migrate from diagnostic settings storage retention to Azure Storage lifecycle management, and added a link to the article. I'm not able to do anything with the UI or how this functions. The article change should be live next week with a few other minor changes.

please-close