Answered by:
All Users with System Administrator rights deleted in AD

Question
-
Hi All
I have a customer which has had their AD users with system administrator rights in CRM deleted. In other words I have no access to CRM with system administrator rights. What to do?
Kind regards, Thomas Rath
Friday, August 2, 2013 8:53 AM
Answers
-
Hi Thomas,
You need to:
- recreate the account in AD
- link the new AD SID with the CRM account updating the database directly
here is a link on how to do this:
http://quantusdynamics.blogspot.co.uk/2013/03/dynamics-crm-2011-recover-deleted.html
Visit my blog for CRM material, improving performance, kerberos, IFD, development tips, etc. :) http://quantusdynamics.blogspot.com
- Proposed as answer by nrodri Saturday, August 3, 2013 9:50 AM
- Marked as answer by ThomasRath Tuesday, August 6, 2013 12:49 PM
Friday, August 2, 2013 8:56 AM
All replies
-
Hi Thomas,
You need to:
- recreate the account in AD
- link the new AD SID with the CRM account updating the database directly
here is a link on how to do this:
http://quantusdynamics.blogspot.co.uk/2013/03/dynamics-crm-2011-recover-deleted.html
Visit my blog for CRM material, improving performance, kerberos, IFD, development tips, etc. :) http://quantusdynamics.blogspot.com
- Proposed as answer by nrodri Saturday, August 3, 2013 9:50 AM
- Marked as answer by ThomasRath Tuesday, August 6, 2013 12:49 PM
Friday, August 2, 2013 8:56 AM -
You have two options. Try to use solution provided by Quantus Dynamics however I will be really worried to do so many unsupported modifications.
I would like to suggest to take backup of Organization DB. Then uninstall CRM Server. Install once again and reimport Organization. In that case you will make sure that everything is working fine without unsupported modifications.
KG
My Dynamics CRM Blog: http://bovoweb.blogspot.com
- Proposed as answer by nrodri Saturday, August 3, 2013 9:50 AM
Friday, August 2, 2013 9:44 AM -
kgorczewski has a good point and the safest approach.
However in a big environment recovering AD accounts is a regular thing which is my case. In practical terms you can't import a database every time you need to recover an account that may have been deleted, you could but wouldn't be practical this only applies to accounts that have been deleted and were disabled in CRM and you need to enable them in CRM the below process wouldn't work in this case if the account is enabled the below process is enough in most cases.
You just need to recover one sys admin account, and after this you can recover all the others using CRM itself by:
- opening their user profile in CRM
- change the username to a dummy account and revert it back to the original user account this will update the SID's
but you can only do this as sys admin so you need to recover one account. Also to make sure the account you recover is not out-of-sync or in some weird state (which is not) you may just want to the same above process to the account you recovered with the database direct SQL update using the other sys admin accounts just recovered via CRM.
Visit my blog for CRM material, improving performance, kerberos, IFD, development tips, etc. :) http://quantusdynamics.blogspot.com
- Edited by nrodri Friday, August 2, 2013 10:32 AM
Friday, August 2, 2013 10:28 AM