Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello Giu_o,
Good day and thank you for posting to Microsoft Community.
It's good that you were cautious about the call you received. It's possible that it was a scam call. Microsoft will never call you unsolicited to tell you that your account has been hacked. If you want to check if there is any suspicious activity on your Microsoft account, you can do so by logging in to your account and checking the recent activity. View your work or school account sign-in activity from My Sign-ins - Microsoft Support.
You can also enable two-factor authentication to add an extra layer of security to your account if you haven't. If you receive any suspicious emails, do not click on any links or download any attachments. Instead, report the email as phishing to Microsoft. You may also report this incident with your school admin.
In case you have any further queries or need any clarification, please let me know.
Best Regards,
Ashraf.