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.
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 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.
2 answers
Sort by: Most helpful
-
-
AmanpreetSingh-MSFT 56,721 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.