You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Resolve Issues in Configuring Long-Term Storage for Azure Activity Logs
3
+
description: Discusses how to configure long-term storage for Azure Activity Logs past the default 90 days.
4
+
ms.date: 01/14/2026
5
+
ms.author: jarrettr
6
+
ms.editor: v-gsitser
7
+
ms.reviewer: v-ryanberg
8
+
ms.service: azure-monitor
9
+
ms.custom: I can’t configure export of Activity Logs
10
+
---
11
+
12
+
# Configure long-term storage for Azure Activity Logs
13
+
14
+
This article discusses how to configure long-term storage for Azure Activity Logs. By default, Activity Logs are retained for 90 days. Users might have to store logs for a longer time for compliance or extended analysis.
15
+
16
+
## Configure long-term storage
17
+
18
+
### Step 1: Create a diagnostic setting
19
+
20
+
1. Go to [Azure portal](https://ms.portal.azure.com/auth/login/) > **Monitor**.
21
+
22
+
2. Under **Settings**, select **Diagnostic settings**.
23
+
24
+
3. Select **Add diagnostic setting**.
25
+
26
+
4. In **Activity Log**, select the log that you want to configure.
27
+
28
+
### Step 2: Specify the destination
29
+
30
+
1. Got to **Log Analytic** > **Event Hubs** > **Azure Storage**, and then select the destinations for your logs.
31
+
32
+
2. Set the destination resource to retain logs for more than 90 days.
33
+
34
+
### Step 3: Configure the retention settings
35
+
36
+
1. If you use Azure Storage, navigate to **Storage Account**.
37
+
38
+
2. Under **Data Management**, select **Lifecycle Management**.
39
+
40
+
3. Set the retention period to your desired duration.
41
+
42
+
### Step 4: Verify the configuration
43
+
44
+
1. Return to **Diagnostic settings**, and make sure that your settings are saved.
45
+
46
+
2. Check the destination resource to verify that logs are stored as expected.
47
+
48
+
## Frequently asked questions
49
+
50
+
**Q1: Why don't the logs appear in the destination?**
51
+
52
+
**A1:** Make sure that the diagnostic setting is correctly configured and the destination resource is active.
53
+
54
+
**Q2: Why is the retention period not applied?**
55
+
56
+
**A2:** Verify that the retention settings in the destination resource are set correctly.
Copy file name to clipboardExpand all lines: support/sql/releases/download-and-install-latest-updates.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ Each of the following links provides information for all of the applicable produ
37
37
38
38
|Version|Latest service pack|Latest GDR|Latest cumulative update|
39
39
|---|---|---|---|
40
-
|**SQL Server 2025**<br/><br/>- [Build information](#sql-server-2025)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver17&preserve-view=true)|None|[GDR](https://support.microsoft.com/help/5073177) <br/>(17.0.1050.2 - January 2026)|None|
41
-
|**SQL Server 2022**<br/><br/>- [Build information](#sql-server-2022)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver16&preserve-view=true)|None|[GDR](https://support.microsoft.com/help/5073031) <br/>(16.0.1165.1 - January 2026) |[CU22 for 2022](sqlserver-2022/cumulativeupdate22.md) <br/>(16.0.4225.2 - November 2025) <br/><br/>[CU22 + GDR](https://support.microsoft.com/help/5072936) <br/>(16.0.4230.2 - January 2026)|
40
+
|**SQL Server 2025**<br/><br/>- [Build information](#sql-server-2025)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver17&preserve-view=true)|None|[GDR](https://support.microsoft.com/help/5073177) <br/>(17.0.1050.2 - January 2026)|[CU1 for 2025](sqlserver-2025/cumulativeupdate1.md) <br/>(17.0.4005.7 - January 2026)|
41
+
|**SQL Server 2022**<br/><br/>- [Build information](#sql-server-2022)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver16&preserve-view=true)|None|[GDR](https://support.microsoft.com/help/5073031) <br/>(16.0.1165.1 - January 2026) |[CU23 for 2022](sqlserver-2022/cumulativeupdate23.md) <br/>(16.0.4235.2 - January 2026) <br/><br/>[CU22 + GDR](https://support.microsoft.com/help/5072936) <br/>(16.0.4230.2 - January 2026)|
42
42
|**SQL Server 2019**<br/><br/>- [Build information](#sql-server-2019)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver15&preserve-view=true)|None|[GDR](https://support.microsoft.com/help/5068405) <br/>(15.0.2155.2 - November 2025)|[CU32 for 2019](sqlserver-2019/cumulativeupdate32.md) <br/>(15.0.4430.1 - February 2025)<br/><br/>[CU32 + GDR](https://support.microsoft.com/help/5068404) <br/>(15.0.4455.2 - November 2025)|
43
43
|**SQL Server 2017**<br/><br/>- [Build information](#sql-server-2017)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-2017&preserve-view=true)|[Azure Connect pack](sqlserver-2017/azureconnect.md) <br/>(14.0.3490.10 - March 2025)|[GDR](https://support.microsoft.com/help/5068403) <br/>(14.0.2095.1 - November 2025)|[CU31 for 2017](sqlserver-2017/cumulativeupdate31.md) <br/>(14.0.3456.2 - September 2022)<br/><br/>[CU31 + GDR](https://support.microsoft.com/help/5068402) <br/>(14.0.3515.1 - November 2025)|
44
44
|**SQL Server 2016**<br/><br/>- [Build information](#sql-server-2016)<br/>- [Installation](/sql/database-engine/install-windows/install-sql-server?view=sql-server-2016&preserve-view=true)|[Azure Connect pack](sqlserver-2016/servicepack3-azureconnect.md) <br/>(13.0.7000.253 - May 2022)<br/><br/>[SP3](sqlserver-2016/servicepack3.md) <br/>(13.0.6300.2 - September 2021)<br/><br/>[SP2](sqlserver-2016/servicepack2.md) <br/>(13.0.5026.0 - April 2018)<br/><br/>[SP1](sqlserver-2016/servicepack1.md) <br/>(13.0.4001.0 - November 2016)|[GDR for Azure Connect pack](https://support.microsoft.com/help/5068400) <br/>(13.0.7070.1 - November 2025)<br/><br/>[GDR for SP3](https://support.microsoft.com/help/5068401) <br/>(13.0.6475.1 - November 2025)<br/><br/>[GDR for SP2](https://support.microsoft.com/help/5014365) <br/>(13.0.5108.50 - June 2022)<br/><br/>[GDR for SP1](https://support.microsoft.com/help/4505219) <br/>(13.0.4259.0 - July 2019)<br/><br/>[GDR for RTM](https://support.microsoft.com/help/4058560) <br/>(13.0.1745.2 - January 2018)|[CU17 + GDR for SP2](https://support.microsoft.com/help/5014351) <br/>(13.0.5893.48 - June 2022)<br/><br/>[CU17 for 2016 SP2](sqlserver-2016/servicepack2-cumulativeupdate17.md) <br/>(13.0.5888.11 - March 2021)<br/><br/>[CU15 + GDR for SP1](https://support.microsoft.com/help/4505221) <br/>(13.0.4604.0 - July 2019)<br/><br/>[CU15 for SP1](sqlserver-2016/servicepack1-cumulativeupdate15.md) <br/>(13.0.4574.0 - May 2019)<br/><br/>[CU9 for RTM](sqlserver-2016/rtm-cumulativeupdate9.md) <br/>(13.0.2216.0 - November 2017)|
@@ -59,6 +59,7 @@ Each of the following links provides information for all of the applicable produ
59
59
60
60
| Build number or version | Service pack | Update | Knowledge Base number | Release date |
Copy file name to clipboardExpand all lines: support/sql/releases/sqlserver-2022/build-versions.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ This article lists the Microsoft SQL Server 2022 builds that were released after
16
16
17
17
| Cumulative update name | SQL Server build version | SQL Server (sqlservr.exe) file version | Analysis Services build version | Analysis Services (msmdsrv.exe) file version | Knowledge Base number | Release date |
0 commit comments