title | description | author | manager | ms.service | ms.topic | ms.subservice | ms.date | ms.author | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|
How to archive activity logs to a storage account |
Learn how to archive Microsoft Entra activity logs to a storage account through Diagnostic settings. |
shlipsey3 |
amycolannino |
entra-id |
how-to |
monitoring-health |
02/27/2024 |
sarahlipsey |
egreenberg |
If you need to store Microsoft Entra activity logs for longer than the default retention period, you can archive your logs to a storage account. We recommend that you use a general storage account and not a Blob storage account. We recommend that you use a general storage account and not a Blob storage account. For storage pricing information, see the Azure Storage pricing calculator.
To use this feature, you need:
- An Azure subscription. If you don't have an Azure subscription, you can sign up for a free trial.
- An Azure storage account you have
ListKeys
permissions for. Learn how to create a storage account. - A user who's a Security Administrator for the Microsoft Entra tenant.
[!INCLUDE portal update]
[!INCLUDE diagnostic-settings-include]
-
Under Destination Details select the Archive to a storage account check box.
-
Select the appropriate Subscription and Storage account from the menus.
Note
The Diagnostic settings storage retention feature has been deprecated. If you're editing a diagnostic setting created when the retention option was available, those fields are still visible. For details on this change, see Migrate from diagnostic settings storage retention to Azure Storage lifecycle management.
-
Select Save to save the setting.
-
Close the window to return to the diagnostic settings page.