O365: Exchange and AD – How msExchRecipientDisplayType and msExchangeRecipientTypeDetails Relate to Your On-Premises

NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft.

Now maintained here: http://www.iseelondoniseefrance.se/2018/08/01/how-msexchrecipientdisplaytype-and-msexchangerecipienttypedetails-relate-to-your-on-premises/

20 Replies to “O365: Exchange and AD – How msExchRecipientDisplayType and msExchangeRecipientTypeDetails Relate to Your On-Premises”

  1. Hi,Many thanks for this info.
    I would also be extremly interested in having detailed information about the MsExchRemoteRecipientType attribut.

  2. I believe there is a mistake – for SecurityDistributionGroup the value is listed as "1043741833" but I believe this should be "1073741833" based on my lookups from our On-Prem Exchange.

  3. for msExchRemoteRecipientType, I know of two values:

    1 – ProvisionMailbox
    4 – Migrated

    It would stand to reason that there is at least also some appropriate values for 3 and 4, if not 0 or 5 and beyond.

    When you execute Enable-RemoteMailbox, the AD user object has msExchRemoteRecipientType set 1 which will tell the Service to provision a new mailbox for the user when it is next synchronized. A value of 4 means that the mailbox was migrated from On-Premise
    to Online.

    1. Run the following script to pull all AD attribute values for individuals:
      Get-ADUser username -Properties * | Select * | out-file c:\users\\desktop\username.txt

      Use this script for just the msExchRecipientDisplayType and msExchRecipientTypeDetails values:
      Get-ADUser username -Properties * | fl Name,SamAccountName,msExchRecipientDisplayType,msExchRecipientTypeDetails | out-file c:\users\\desktop\ExchRecipValues.txt

      Run this script to pull those 2 values for all users in your domain.

      Get-ADUser -SearchBase “OU=All Users,DC=X,DC=Y,DC=Z,DC=com” -Filter {Enabled -eq $true} -Properties * | fl Name,SamAccountName,msExchRecipientDisplayType,msExchRecipientTypeDetails,DistinguishedName | out-file c:\users\\desktop\ExchRecipValues.txt

      You can import this into an excel file and modify it to make it pretty. ūüôā (Macros help with large amounts of data/users)

  4. Hi John,

    This article has helped me alot to resolve multiple issues with mailboxes. Thank you

    However i fail to understand the difference between ACLableMailboxUser with value 1073741824 and a Mailboxuser with value 0

    Considering a single AD forest, when i enable a mailbox why does it associate teh user with ACLablemailboxuser and y doesnt it have a 0 i.e. a mailbox user

    If ACl is refereed to Inheritance permission, then i can do that via AD under security tab as well.

    Any thought would be much appreciated

  5. I can confirm these values on Exchange 2016 for Recipient Type Details although they should be good for older versions as well.
    Remote User Mailbox 2147483648                  
    Remote Room Mailbox               8589934592                    
    Remote Equipment Mailbox       17179869184
    Remote Shared Mailbox             34359738368 

  6. This list is missing 549755813888 which is for Health Monitoring Mailboxes. With that said I can’t seem to find a definitive list on Technet library that lists all recipient types. Does this not exist? It took a lot of searching just to find this blog.