@Victor7120 Thank you for reaching out to us.
As I understand you are looking for longer retention for data within Activity Explorer/Compliance portal.
Refer to this article https://techcommunity.microsoft.com/t5/security-compliance-and-identity/admin-guide-to-auditing-and-reporting-for-the-aip-unified/ba-p/3610727#:~:text=3.-,Continuously%20export%20data%20from%20the%20unified%20audit%20log%20to%20Azure%20Log%20Analytics,-The%20Activity%20explorer for more information on export data from the unified audit log to Azure Log Analytics.
Let me know if you have any further questions.