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
Copy file name to clipboardExpand all lines: support/azure/azure-monitor/activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
+76-1Lines changed: 76 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,79 @@ ms.custom: I can’t configure export of Activity Logs
8
8
---
9
9
# Diagnostic Settings Transition from Legacy Solutions
10
10
11
-
This article is currently being updated.
11
+
## Resolve Transition Issues from Legacy Azure Activity Log Solutions
12
+
13
+
This article addresses the transition from legacy solutions for forwarding Azure activity logs to new diagnostic settings. The legacy solution will be retired on September 30, 2026, and this change will occur automatically without disrupting your workflow. However, if you have automation using the legacy API, you will need to update it.
14
+
15
+
### Step-by-Step Instructions to Resolve Transition Issues
16
+
17
+
1.**Verify Current Configuration**
18
+
- Navigate to **Azure Portal**.
19
+
- Go to **Monitor** > **Activity Log** > **Export Activity Log**.
20
+
- Select your subscription from the dropdown and ensure a diagnostic setting is configured.
21
+
22
+
2.**Update Automation Scripts**
23
+
- If you have scripts using the legacy API, update them to use the **diagnostic settings API** by September 30, 2026.
24
+
- Refer to the [Azure Diagnostic Settings API Documentation](https://learn.microsoft.com/azure/azure-monitor/essentials/activity-log?tabs=powershell#legacy-collection-methods) for guidance.
25
+
26
+
3.**Check Log Analytics Workspace**
27
+
- Ensure the destination Log Analytics Workspace is active.
28
+
- If the workspace is inactive, change the destination to an active subscription.
29
+
30
+
4.**Run PowerShell Script to List Diagnostic Settings**
31
+
- Open **Azure Cloud Shell** or any PowerShell connected to your tenant.
32
+
- Run the following script to list all diagnostic settings across your subscriptions:
33
+
34
+
```powershell
35
+
# Install and login with Connect-AzAccount
36
+
If ($null -eq (Get-Command -Name Get-CloudDrive -ErrorAction SilentlyContinue)) {
37
+
If ($null -eq (Get-Module Az -ListAvailable -ErrorAction SilentlyContinue)){
38
+
Write-Host Installing Az module from default repository
39
+
Install-Module -Name Az -AllowClobber
40
+
}
41
+
Write-Host Importing Az
42
+
Import-Module -Name Az
43
+
Write-Host Connecting to Az
44
+
Connect-AzAccount
45
+
}
46
+
# Get all Azure Subscriptions
47
+
$Subs = Get-AzSubscription
48
+
# Set array
49
+
$DiagResults = @()
50
+
# Loop through all Azure Subscriptions
51
+
foreach ($Sub in $Subs) {
52
+
Set-AzContext $Sub.id | Out-Null
53
+
Write-Host Processing Subscription: ($Sub).name
54
+
# Get all Azure resources for current subscription
55
+
$Resources = Get-AZResource
56
+
# Get all Azure resources which have Diagnostic settings enabled and configured
Copy file name to clipboardExpand all lines: support/azure/azure-monitor/activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,37 @@ ms.custom: I can’t configure export of Activity Logs
8
8
---
9
9
# Understanding and Transitioning from Legacy to Diagnostic Settings for Azure Activity Logs
10
10
11
-
This article is currently being updated.
11
+
When Azure announced the transition from legacy solutions to diagnostic settings for forwarding activity logs, users received notifications about necessary updates. This article provides guidance on how to manage this transition effectively.
12
+
13
+
### Introduction
14
+
Azure is retiring the legacy solution for forwarding activity logs and replacing it with diagnostic settings. This change is automatic, but users with automation relying on the legacy API need to update their configurations. This guide will help you verify your current setup and make necessary adjustments.
15
+
16
+
### Step-by-Step Instructions to Transition to Diagnostic Settings
17
+
18
+
1.**Verify Existing Log Profiles**
19
+
- Use the **Get-AzLogProfile** command in Azure PowerShell or the **az monitor log-profiles list** command in Azure CLI to check for existing log profiles.
20
+
- If these commands return no results, no legacy log profiles are configured, and no action is needed.
21
+
22
+
2.**Update Automation Scripts**
23
+
- If you have automation scripts using the legacy API, update them to use the diagnostic settings API by September 30, 2026.
24
+
- Refer to the [Azure Monitor documentation](https://learn.microsoft.com/azure/azure-monitor/platform/activity-log?tabs=powershell#managing-legacy-log-profiles---retiring) for detailed instructions.
25
+
26
+
3.**Manual Transition to Diagnostic Settings**
27
+
- For users with legacy log profiles, manually transition to diagnostic settings by following the steps outlined in the Azure documentation.
28
+
- Ensure all configurations are updated before the retirement date to avoid disruptions.
29
+
30
+
### Common Issues and Solutions
31
+
32
+
-**Issue:** Unable to find existing log profiles.
33
+
-**Solution:** Ensure you are using the correct commands and have the necessary permissions to access log profiles.
34
+
35
+
-**Issue:** Automation scripts fail after the transition.
36
+
-**Solution:** Double-check that all scripts are updated to use the new diagnostic settings API.
@@ -36,7 +36,7 @@ Each of the following links provides information for all of the applicable produ
36
36
37
37
|Version|Latest service pack|Latest GDR|Latest cumulative update|
38
38
|---|---|---|---|
39
-
|**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/5058712) <br/>(16.0.1140.6 - July 2025) |[CU19 for 2022](sqlserver-2022/cumulativeupdate19.md) <br/>(16.0.4195.2 - May 2025) <br/><br/>[CU19 + GDR](https://support.microsoft.com/help/5058721) <br/>(16.0.4200.1 - July 2025)|
39
+
|**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/5058712) <br/>(16.0.1140.6 - July 2025) |[CU20 for 2022](sqlserver-2022/cumulativeupdate20.md) <br/>(16.0.4205.1 - July 2025) <br/><br/>[CU19 + GDR](https://support.microsoft.com/help/5058721) <br/>(16.0.4200.1 - July 2025)|
40
40
|**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/5058713) <br/>(15.0.2135.5 - July 2025)|[CU32 for 2019](sqlserver-2019/cumulativeupdate32.md) <br/>(15.0.4430.1 - February 2025)<br/><br/>[CU32 + GDR](https://support.microsoft.com/help/5058722) <br/>(15.0.4435.7 - July 2025)|
41
41
|**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/5058716) <br/>(14.0.2075.8 - July 2025)|[CU31 for 2017](sqlserver-2017/cumulativeupdate31.md) <br/>(14.0.3456.2 - September 2022)<br/><br/>[CU31 + GDR](https://support.microsoft.com/help/5058714) <br/>(14.0.3495.9 - July 2025)|
42
42
|**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/5058717) <br/>(13.0.7055.9 - July 2025)<br/><br/>[GDR for SP3](https://support.microsoft.com/help/5058718) <br/>(13.0.6460.7 - July 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)|
@@ -57,6 +57,7 @@ Each of the following links provides information for all of the applicable produ
57
57
58
58
| Build number or version | Service pack | Update | Knowledge Base number | Release date |
@@ -15,7 +15,8 @@ This article lists the Microsoft SQL Server 2022 builds that were released after
15
15
16
16
| 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 |
@@ -66,4 +67,4 @@ This article lists the Microsoft SQL Server 2022 builds that were released after
66
67
-[Where to find information about the latest SQL Server builds](https://support.microsoft.com/help/957826)
67
68
-[SQL Server Service Packs are no longer supported starting from SQL Server 2017](https://support.microsoft.com/help/4041553)
68
69
-[Naming schema and Fix area descriptions for SQL Server software update packages](../../database-engine/install/windows/naming-schema-and-fix-area.md)
69
-
-[Description of the standard terminology that is used to describe Microsoft software updates](../../../windows-client/deployment/standard-terminology-software-updates.md)
70
+
-[Description of the standard terminology that is used to describe Microsoft software updates](../../../windows-client/deployment/standard-terminology-software-updates.md)
0 commit comments