M365 Manager Plus, an intuitive Microsoft 365 reporting, management, auditing, alerting, and monitoring tool, helps you easily keep tabs on all user login activities over a long period of time. Therefore, you may have to use complex PowerShell scripts if you want to analyze older data and extract more information.
However, in the Microsoft 365 admin center, usage and activity reports are available for the last 7, 30, 90, and 180 days only.
While investigating a malicious user's activities, you might want to track their previous logins.