• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 116
  • Last Modified:

exchange 2010 email account

Removed a user's AD account and now when I attempt to remove Exchange email account error message indicates AD Object not found.  

How do I now delete the user's email account?
0
danberry1010
Asked:
danberry1010
1 Solution
 
Haresh NikumbhSr. Tech leadCommented:
If an administrator deletes a user account that has a mailbox, the Exchange Information store will eventually detect that the mailbox is no longer connected to a user account and mark that mailbox for deletion

Source:
http://technet.microsoft.com/en-us/library/jj863434(v=exchg.150).aspx
0
 
George SasIT EngineerCommented:
Please allow a few minutes or more for the replication to occur trough the AD.
If you can't wait so much, run an "repadmin /syncall" on a DC, close the EMC and open it again.
The exchange mailbox should be now marked as disconnected and you should be able to delete it.
0
 
RoyoRCommented:
If you want to remove the email account from disconnected mailboxes, run the following command using Exchange PowerShell

Get-MailboxStatistics -Database "Mailbox Database" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

You will see below output:

DisplayName    : Email account
DisconnectDate : 8/28/2014 12:08:34 PM
MailboxGuid    : 2afa7ccd-cb82-47ac-9615-6a52c3d79162

Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity 2afa7ccd-cb82-47ac-9615-6a52c3d79162
0
 
danberry1010Author Commented:
Good
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now