Forum Discussion
Biju Daniel
Aug 02, 2018Copper Contributor
Powershel Script for Mailbox types
After Migration, we are seeing some differences of Mailbox types in O365 and AD. Some of the Shared Mailboxes are showing as User in O365. Is there a PS Script to pull those from O365 and AD and...
Aug 02, 2018
What you see is correct, a Shared Mailbox can be promoted to a user Mailbox so it's OK you see an object in AAD....and Object in AAD can be a real user or not
Biju Daniel
Aug 02, 2018Copper Contributor
We want Shared mailboxes to be shown as Shared in O365 also. When we migrated some of the shared mailboxes is showing as Shared and others as user mailbox.
So we would like to get a list of all the mailbox type in O365 and compare with AD. Looking for a PS to accomplish this.
- VasilMichevAug 02, 2018MVP
What kind of migration did you perform though? Getting a list of mailboxes and their type is easy, all you need to do is run the Get-Mailbox cmdlet:
Get-Mailbox -ResultSize Unlimited | select Name,PrimarySmtpAddress,RecipientTypeDetails | Export-CSV -nti blabla.csv