Hello @OV, Joel
Thanks for reaching out. I reviewed the Microsoft notice about the legacy Azure Activity Log forwarding retiring on 30 September 2026. Here’s a quick guide to check if you’re using the legacy setup and how to switch to the new Diagnostic Settings method.
The legacy export uses an older API and creates a legacy solution in Log Analytics. Use these checks to see if your environment is affected.
Legacy Activity Logs
Checking Your Log Analytics Workspace
- Hop into the Azure Portal.
- Look up Log Analytics workspaces and pick the one that gets your Activity Logs.
- On the left, hit Solutions.
If you spot any of these solutions:
- AzureActivity
- Activity Log (Legacy)
- Activity Log Analytics Solution
- That means your workspace is set up with the legacy solution.
Subscription Activity Log Export Settings
- In the Azure Portal, head to Subscriptions.
- Pick your subscription.
- On the left, go to Activity Log and then Export Activity Logs.
- If you see an export profile here—rather than in Diagnostic Settings—it shows you’re on the legacy export method.
- Automation or Script Check - If you’re using scripts or automation that call APIs like.
- providers/microsoft.insights/eventtypes/management/values
- providers/microsoft.insights/logprofiles
→ These are legacy APIs, so you’ll need to swap them out before retirement.
How to Manually Set Up Activity Log Export with Diagnostic Settings
Microsoft now suggests using subscription-level Diagnostic Settings to send Activity Logs to your choice of:
- Log Analytics workspace
- Storage account
- Event Hub
Here’s how you can set this up:
Step-by-Step Guide for Creating Diagnostic Settings for Activity Logs
Open Your Subscription
- Head over to the Azure Portal.
- Search for Subscriptions.
- Pick the subscription you want to work with.
- Access Diagnostic Settings
- On the left, click Diagnostic Settings.
- Hit + Add diagnostic setting.
Choose Activity Log Categories
Under Category details, select all categories you want to include (grabbing all is usually best):
- Administrative
- Security
- ServiceHealth
- Alert
- Recommendation
- Policy
- Autoscale
This covers all Activity Log events.
- Pick Your Destination- You can choose one or more options, whatever works for you:
- Send to Log Analytics Workspace
- Switch on Send to Log Analytics workspace.
- Select your workspace.
- Archive to a Storage Account
- Turn on Archive to a storage account.
- Pick your storage account.
- Stream to Event Hub
- Enable Stream to an event hub.
- Choose the Event Hub namespace and hub.
- Save Your Diagnostic Setting
- Give it a clear name (like ActivityLogs-Prod-Diagnostic).
- Click Save.
And that’s it you’ve switched to the new recommended method!
Remove Legacy Configuration After Migration :-
- Go to Subscriptions → Activity Log → Export Activity Logs.
- If a legacy export profile exists, delete or disable it.
Remove Legacy Log Analytics Solutions:
- Open your Log Analytics workspace.
- Select Solutions.
- Remove AzureActivity or similar legacy solutions. These will stop receiving data automatically after retirement, but removing them helps keep the environment clean.
If you have any questions please revert back we will be happy to assist.
Reference link
https://learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings?tabs=portal
Thanks,
Manish Deshpande.