A cloud-based identity and access management service for securing user authentication and resource access
Azure AD P1 or P2 stores the audit logs for 30 days only by default - reference-reports-data-retention
You can retain the audit and sign-in activity data for longer than the default retention period, by routing it to an Azure storage account using Azure Monitor. More details are here: quickstart-azure-monitor-route-logs-to-storage-account
----------
--please don't forget to upvote and Accept as answer if the reply is helpful--