I need to gather a report for License changes for the last 90 days. Azure Audit logs would only let me get data for last 30 days.

Tejas Surve 1 Reputation point
2020-10-16T12:09:59.68+00:00

I need to gather a report for License changes for the last 90 days. Azure Audit logs would only let me get data for last 30 days.
I found below article to change permission to store 90 day data in a blob but we havent opted for it yet. Is there any other way from UI, Graph or Powershell to pull 90 day historical data.

https://learn.microsoft.com/en-us/azure/active-directory/reports-monitoring/reference-reports-data-retention#how-long-does-azure-ad-store-the-data

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,629 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 145.6K Reputation points MVP
    2020-10-16T12:35:14.42+00:00

    No, only if you grab those logs and store them locally for an extended time. You won't be able to grab them longer than the 30 day mark otherwise.

    0 comments No comments

  2. AmanpreetSingh-MSFT 56,506 Reputation points
    2020-10-16T12:45:50.28+00:00

    Hello @Tejas Surve ·

    In compliance to the GDPR guidelines, Microsoft doesn't store Azure AD Audit logs for more than 30 days. Which is why it won't be possible to fetch Azure AD Audit logs which are older than 30 days via UI, Graph or PowerShell if you have NOT exported the logs to a different location.

    For future, you may export the logs to blob storage or schedule this PowerShell Script to run after regular intervals and export the logs to your on-premise storage as well and you can retain the logs for your desired duration.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments