Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.81 KB

howto-archive-logs-to-storage-account.md

File metadata and controls

52 lines (35 loc) · 2.81 KB
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

How to archive Microsoft Entra activity logs to an Azure storage account

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.

Prerequisites

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.

Archive logs to an Azure storage account

[!INCLUDE portal update]

[!INCLUDE diagnostic-settings-include]

  1. Under Destination Details select the Archive to a storage account check box.

  2. Select the appropriate Subscription and Storage account from the menus.

    Screenshot of the diagnostic settings

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.

  1. Select Save to save the setting.

  2. Close the window to return to the diagnostic settings page.

Next steps