Solved

Orphaned User

Posted on 2013-02-07
4
183 Views
Last Modified: 2013-02-08
Ok without drawing it out too much. Running Exchange 2010, did a dcpromo on another box that messed stuff up so I repromoted it. All is well except for one user. He is no longer in AD. I could just recreate him, but his mailbox appears to have vanished as well.  

It is not listed under disconnected mailboxes in the MMC. Here is the odd thing, if I run Get-MailboxDatabase "Mailbox2" | Get-MailboxStatistics his mailbox is there with 29K+ items. However if I run Get-Mailbox and dump it to text his mailbox doesn't list.

It is like Exchange has it, but I need to reconnected it to an AD user. I've already recreated his AD user. My PS is admittedly weak, but I'm sure there is a cmdlet to recreate the link, since the mailbox is clearly there.
0
Comment
Question by:bhieb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:bhieb
ID: 38865742
To expand on the dcpromo, yes I did make sure to move the FSMO to another DC, and yes there were 2 other Global Catalogs when I originally demoted the other server. However it caused a mess, so I re promoted. For some reason this guy is the only one that messed up.
0
 
LVL 9

Accepted Solution

by:
EMJSR earned 500 total points
ID: 38865754
Hi there, you should be able to reconnect the mailbox using the following command:
Connect-Mailbox -Identity "<your user's mailbox name>" -Database <your database name> -User ><your AD user>

Open in new window


Please replace everything inside < > (including the < >) with your information.

I hope this helps.
0
 

Author Comment

by:bhieb
ID: 38865863
Worked like a charm, thanks. I just didn't know the syntax, as I usually use the MMC to do this type of stuff, but his box wasn't there even under disconnected.. How well Thanks!
0
 
LVL 9

Expert Comment

by:EMJSR
ID: 38865984
Yeah, Microsoft could've made it a little easier here and there. Some of the less common stuff I have to look up myself. Glad that it worked though!
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question