how can we get LegacyExchangeDN for a certain domain on exchange server ? Note : don't have Active Directory

George Victor 1 Reputation point
2022-02-02T15:53:12.923+00:00

how can we get LegacyExchangeDN for a certain domain on exchange server ? Note : don't have Active Directory

Exchange | Exchange Server | Management
{count} votes

1 answer

Sort by: Most helpful
  1. Aaron Xue-MSFT 2,596 Reputation points Microsoft External Staff
    2022-02-03T05:58:11.237+00:00

    Hi @George Victor ,

    Did you mean that you would like to locate mailboxes not hosted on the mail server you are working on?

    If in this case, you could run below command to check it.

    Get-Remotemailbox “mailboxname” |  FL LegacyExchangeDN  
    

    Here’s a document for you reference.
    https://www.petenetlive.com/KB/Article/0001468
    Please Note: Since the web sites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.