Dear Priscilla Chu,
Good day! Thank you for posting to Microsoft Community. We are happy to assist you.
Based on your description,you're having trouble signing in to your school account.
Firstly, may I confirm that whether the account type is assigned by your school and ended with @xxx.edu? If NOT, would you please update to let me know, thanks in advance!
Since your phone number is changed now, the best way is to reset your MFA(Multi-Factor Authentication) option, so that you can re-configure it with your new phone number when you login the next time.
Please refer to the inofrmation below:
Since the education accounts are manged by the tenant admins(IT department) in the schools/colleges/Universities, please contact your administrator to follow the steps in Manage authentication methods for Azure AD Multi-Factor Authentication - Microsoft Sign In | Microsoft Learn to reset your MFA option. After reseting, you would be required to set the MFA again when you login to O365 Portal.
For your reference: How do I find my Microsoft 365 admin? - Microsoft Support.
If there is any update or I misunderstand you, please feel free to let me know. I will continue to assist you. Your understanding and co-operation are highly appreciated.
Thanks for your precious time. Have a nice day!
Sincerely,
Microsoft Community Moderator