Sending, receiving, and organizing email in Outlook.com
Hello Cheuk,
My name is Rita, a user of Microsoft products like you and I am happy to assist you.
From the error message you shared, it means that the issue you are experiencing is a license issue. This happens on a work account. Kindly read through this thread that discussed similar issue: https://learn.microsoft.com/en-us/answers/questions/1080144/userhasnomailboxandnolicenseassignederror
I hope it helps you resolve your issue. Though I recommend that you meet your company's IT support to check your account's license through M365 admin center.
Best Regards, Rita.