Hello, good day and thanks for your question. To add to the above, may I check and confirm on what is the exact status when you login to your account from a browser at account.microsoft.com/services? If it is already showing that it is not active, you will need to subscribe again to be able gain back the access to any of the Microsoft 365 app/s.
https://www.microsoft.com/en-us/microsoft-365/buy/compare-all-microsoft-365-products