Windows NT user or group not found error when trying to import a Microsoft Dynamics CRM 2011 organization
Applies to: Microsoft Dynamics CRM 2011
Original KB number: 2564514
Symptoms
When you try to import a Microsoft Dynamics CRM organization database into an environment that previously had Dynamics CRM 2011 uninstalled and a reinstall was performed, the following error may occur.
Error message in the log file shows:
Error| Import Organization (Name=<ORGNAME>, Id=ID) failed with Exception:
System.Data.SqlClient.SqlException (0x80131904): Windows NT user or group '<DOMAINNAME>\SQLAccessGroup {ID}' not found. Check the name again.
Cause
This can be caused due to the Microsoft Dynamics CRM privilege groups being left in the SQL Server Security folder when Microsoft Dynamics CRM is uninstalled.
Resolution
To resolve this issue, remove the old Microsoft Dynamics CRM privilege groups from within the SQL Server Security Logins folder on the database server:
On the SQL Server, open SQL Server Management Server.
- Select Start.
- Select All Programs.
- Select Microsoft SQL Server 2008 or Microsoft SQL Server 2008 R2.
- Select SQL Server Management Studio.
Sign in to SQL Server Management Studio.
Expand the Security folder.
- Select to expand Security folder.
- Select to expand Logins folder.
Locate the CRM security groups.
<DOMAINNAME>\PrivReportingGroup {GUID VALUE}
<DOMAINNAME>\ReportingGroup {GUID VALUE}
<DOMAINNAME>\SQLAccessGroup {GUID VALUE}Remove each of the security groups.
- Right-click on the name.
- Select Delete.
- Select OK.
Reattempt the organization import.