Hi @Anonymous ,
Welcome to post in our Q&A forum!
The error message “UserHasNoMailboxAndNoLicenseAssignedError” indicates that this is a license issue. It could be that the admin has not assigned an Exchange online license to your account yet, or in some cases, it could be that your admin has made a change lately in license settings.
To resolve this, follow these steps:
- Sign into the Microsoft 365 portal as an admin.
- Click Users and Groups, and then select Active Users.
- Click Filter (the filter icon), and choose Unlicensed users.
- To assign a license to a user, double-click the user and assign the appropriate license.
If you continue to experience issues, I recommend reaching out to your Email Admins and asking them to assign a valid license to your user account using the M365 Admin Portal. They should be able to assist you in resolving this error.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.