A while back, while performing a migration to Office 365, I had to convert a Distribution Group into a Room List. However, due to the nature of the migration, I didn’t have access to an on-premises Exchange to use the Shell and convert it, so I had to resort to using ADSIedit. So how do we do this using ADSIedit?
There is a reference field that specifies what a recipient type is, as far as on-premises AD/Exchange is concerned, Recipient Type Details = msExchRecipientTypeDetails.
As many other AD attributes, these are represented by an Integer value in AD. Here are all the possible values for Recipient Type Details:
Object Type
|
RecipientTypeDetails
|
Value Name
|
User Mailbox
|
1
|
UserMailbox
|
Linked Mailbox
|
2
|
LinkedMailbox
|
Shared Mailbox
|
4
|
SharedMailbox
|
Legacy Mailbox
|
8
|
LegacyMailbox
|
Room Mailbox
|
16
|
RoomMailbox
|
Equipment Mailbox
|
32
|
EquipmentMailbox
|
Mail Contact
|
64
|
MailContact
|
Mail User
|
128
|
MailUser
|
Mail-Enabled Universal Distribution Group
|
256
|
MailUniversalDistributionGroup
|
Mail-Enabled Non-Universal Distribution Group
|
512
|
MailNonUniversalGroup
|
Mail-Enabled Universal Security Group
|
1024
|
MailUniversalSecurityGroup
|
Dynamic Distribution Group
|
2048
|
DynamicDistributionGroup
|
Public Folder
|
4096
|
Public Folder
|
System Attendant Mailbox
|
8192
|
SystemAttendantMailbox
|
System Mailbox
|
16384
|
SystemMailbox
|
Cross-Forest Mail Contact
|
32768
|
MailForestContact
|
User
|
65536
|
User
|
Contact
|
131072
|
Contact
|
Universal Distribution Group
|
262144
|
UniversalDistributionGroup
|
Universal Security Group
|
524288
|
UniversalSecurityGroup
|
Non-Universal Group
|
1048576
|
NonUniversalGroup
|
Disabled User
|
2097152
|
DisabledUser
|
Microsoft Exchange
|
4194304
|
MicrosoftExchange
|
Arbitration Mailbox
|
8388608
|
ArbitrationMailbox
|
Mailbox Plan
|
16777216
|
MailboxPlan
|
Linked User
|
33554432
|
LinkedUser
|
Room List
|
268435456
|
RoomList
|
Discovery Mailbox
|
536870912
|
DiscoveryMailbox
|
Role Group
|
1073741824
|
RoleGroup
|
Remote Mailbox
|
2147483648
|
RemoteMailbox
|
Team Mailbox
|
137438953472
|
TeamMailbox
|
As such, all I had to do was locate the Distribution Group in AD, update its msExchRecipientTypeDetails attribute to 268435456 and wait for DirSync to replicate the change.
No comments:
Post a Comment