Hi @Mo7Z
This error is due to the lack of MS 365 license in your account.
Please try purchasing or free trial MS 365 license for your tenant, then go to Azure AD and grant that license to the logged in user. As shown in the following picture.
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.