Recently I came across a problem when i was doing general clean-up and maintenance on an Active Directory Domain.
When i tried to delete a user that was no longer with the company I go the following error.
The first thought is dammit, it’s a protected object in AD, so you open the user and go to object only to find that it doesn’t have the tick box set.
Ok, but I know that the admin count can also do funky things, so that’s probably been set to AdminCount=1 so I’ll check that.
No dice… well there goes the simple and common things that will cause you problems.
if you also looked at the error closely you would have noticed that the error was talking about exchange permissions.
if you go to your Active Directory users and computers MMC you can turn on two options
Users, Contacts, Groups, and Computers as Containers. and Advanced Features (if not already)
Now when you go back and look at the user you are trying to delete you find out that they have a container under their account… Why you ask? this is created by Exchange and all these new iPhones and Windows Phones users will have one under their account.
In this particular environment we have Exchange 2010 Service Pack 1, I could use ADSI edit and delete get rid of it, however I hate using ADSI Edit when you can do it as the system intended.
Since this is a phone that is added to the users account our next set is the Exchange EMC
Logon to the Exchange Management Console and Select the user from the Mailbox folder under Recipient Configuration area and right click to bring up the action menu,
click on “Manage Mobile Phone…”
This will bring up the below window and you will be able to select the offending devices and remove the Windows Mobile phone’s, iPad’s or iPhones from the users account. by selecting them and clicking remove when you have the radio button “Remove Mobile Phone partnership” selected.
Once this is done you will be able to go back to AD and delete the user as per normal.
Hope this helps.
December 6th, 2013 at 10:54 am
Wonderful, what a webpage it is! This website gives helpful information to us,
keep it up.
April 3rd, 2014 at 1:19 pm
Hi the information on this blog is just amazing it keeps me coming back time and time again ,personally i met my wife using this site so i couldnt like it any more i have done my best to promote this blog as i know that others need to read this thing ,Thanks for all your effort spent in making this fabulous resource ! ok,nice one Jake
September 13th, 2014 at 2:09 pm
You ought to be a part of a contest for one of
the finest sites on the web. I will recommend this web site!
November 6th, 2014 at 11:18 am
What’s up to every one, the contents present at this site are in fact amazing for people knowledge,
well, keep up the nice work fellows.