Solved

Ad user remove ?

Posted on 2013-11-09
7
231 Views
Last Modified: 2013-11-13
I deleted a user from AD instead of Exchange now can't delete the account in exchange. It gives some error about not being able to find it in AD. How can I remove this mail box now?
0
Comment
Question by:Axis52401
7 Comments
 
LVL 5

Expert Comment

by:Satish Auti
ID: 39636344
Run this command from EMC

Remove-Mailbox -Identity "USERNAME" -Permanent

Refer for better understanding...

http://howexchangeworks.com/2010/09/purge-disconnected-or-soft-deleted.html
0
 
LVL 2

Author Comment

by:Axis52401
ID: 39636349
It gives me the error
Missing an arguement for parameter
0
 
LVL 4

Expert Comment

by:Smighty
ID: 39636351
You will find the Mailbox as unlinked in the Disconnected Mailboxes and you'll be able to reattach the mailbox to a new/other user or delete it there.

If you have the AD Recycle Bin activated you can restore the AD account and reattach the mailbox to the existing account. I don't know if you have to reattach it manually since I've never done it myself...
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 5

Expert Comment

by:Satish Auti
ID: 39636353
have u enter the user account between "" which u deleted.
0
 
LVL 5

Accepted Solution

by:
Satish Auti earned 500 total points
ID: 39636355
I don't think there is need to restore user account..... finally u can try that also..
0
 
LVL 2

Author Comment

by:Axis52401
ID: 39636358
That mailbox doesn't show in the disconnected mailboxes it shows up in the regular list, I did put the users username in the command
0
 
LVL 36

Expert Comment

by:Mahesh
ID: 39636666
You can use adrestore if you wanted to recover deleted user
OR
else you can create new AD user without mailbox with same login name as deleted one.
Also, run below command on exchange mailbox server
get-mailboxdatabase |clean-mailboxdatabase
Now you can view deleted user mailbox in disconnected mailbox post refresh
Now right click disconnected mailbox and select connect, it will connect the disconnected mailbox to user
now take .pst backup of mailbox if wanted to and then Disable (Not Remove) the mailbox from exchange mmc.
This will remove all exchnage attributes from user account, and also mark mailbox for deletion by moving it into disconnected mailbox container.
If everything happended perfectly and u are sure that user account is no longer needed, you can delete it as well.

below is the step by step
http://community.spiceworks.com/how_to/show/1388-recover-mailbox-after-delete-active-directory-user
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video discusses moving either the default database or any database to a new volume.

777 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