Use Exchange Online Powershell and and msol PS module will get the ones licensed.
Get-ExoMailbox -ResultSize unlimited -RecipientTypeDetails SharedMailbox | get-msoluser | ?{$_.IsLicensed -eq $true }
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All
I am using exchange 2016 hybrid environment. i was having users who were created in onprem and migrated to cloud. These users were then disabled in AD and their license was revoked and these users were converted to shared mailbox. Now these users came back and they are enabled back in AD, their license is added but in exchange online i still see them as shared mailbox. I want to convert these shared mailboxes to regular mailboxes. i have used the below syntax to fetch the shared mailboxes having license but i am unable to fetch it.
Get-MsolUser -Synchronized -Verbose | where{$.MSExchRecipientTypeDetails -eq "34359738368" -and $.isLicensed -eq $true}
When i check back in onprem AD i can see MSExchRecipientTypeDetails as 2147483648
I am not sure how to fetch shared mailboxes in exchange online having e5 licenses assigned to them so that i can convert to regular mailboxes.
Use Exchange Online Powershell and and msol PS module will get the ones licensed.
Get-ExoMailbox -ResultSize unlimited -RecipientTypeDetails SharedMailbox | get-msoluser | ?{$_.IsLicensed -eq $true }