MC222773 - Microsoft has made a change to Exchange Online in order to correct the way unlicensed mailbox access is handled. This change may cause Shared mailboxes to be inaccessible due to a license expired error.
The mailbox isn't available. This may have occurred because the license for the mailbox has expired. To find out how to gain access to this mailbox again, contact the person who manages your email account.
⚡️ What is the impact ?
Delegates who access shared mailboxes might no longer have access to the mailbox. This occurs because both On-Prem AD as well as Azure AD see the mailbox as Shared, but Exchange Online still sees the mailbox as a User mailbox.⛏️ How to resolve and fix ?
If you are experiencing the error message that the license has expired and the mailbox is showing as a shared mailbox in both On-Prem AD and Azure AD but in Exchange Online it is not a shared mailbox, run the following cmdlet using Exchange Online PowerShellYou may need to contact your Office 365 Tenant Admin to prevent or fix this issue.
Set-Mailbox -Type Shared
Comments:
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Should I convert the mailbox to a shared one?
Use this script to get and check all users with mailbox but no Exchange license
get-mailbox | where {($_.recipienttypedetails -ne “Discoverymailbox”) -and ($_.skuassigned -ne “True”)} | ft name,skuassign*
Reference link - https://johnyassa.blog/tag/the-mailbox-isnt-available-this-may-have-occurred-because-the-license-for-the-mailbox-has-expired/