Hi @Tag 9
This is because your tenant lacks an MS 365 license. When you try to access MS 365 resources, an MS 365 license will be necessary.
Before doing, please try to purchase (or free trial) an MS 365 license for your tenant, then go to MS Entra ID to assign the license to the current user.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.