Description
To investigate subscription management operations in one place, export the required Activity Log categories through diagnostic settings. Azure keeps the built-in Activity Log for 90 days by default, even when a category is absent at the central destination.
Potential impact
After that window, a missing export can leave no central record of when a resource changed or was deleted.
Remediation
Check that the export still covers the regions and operations you monitored with the legacy profile. Find the required creation, update and deletion events at the destination and check its retention period. Microsoft listed September 2026 for the transition from legacy profiles.
Examples
The examples compare legacy profile categories for eastus and westus. The destination and retention settings are omitted.
Before
- name: 로그 프로필 생성
azure_rm_monitorlogprofile:
name: myProfile
location: eastus
locations:
- eastus
- westus
categories:
- Write
- Action
The first task selects only Write and Action for export.
After
- name: 로그 프로필 생성
azure_rm_monitorlogprofile:
name: myProfile
location: eastus
locations:
- eastus
- westus
categories:
- Write
- Action
- Delete
Adding Delete includes all three legacy management-operation categories. Configure the corresponding logs separately if you need data access events or other current Activity Log categories.