Administration, Customization, Dynamics CRM, Security Roles

You must map your Active Directory user account to at least one enabled Microsoft Dynamics CRM User who has the System Administrator security role before the organization can be imported.

Today I tried to import the database of our productive environment into our test-environment, to check a few things and test some features, without interrupting the productive environment.

Using the Deployment Manager I run the wizard of importing an organization, but at the step of mapping the users, I was getting the following error message:

You must map your Active Directory user account to at least one enabled Microsoft Dynamics CRM User who has the System Administrator security role before the organization can be imported.

I checked the users and found two important steps:

  1. The current logged in user was disabled in the crm database.
    • This is caused by our architecture, as the “System Administrator” of the productive environment is different from the user on the test environment.
  2. The system administration-user of the test environment was missing the “System Administrator” rights in the new database.

 

The first thing I did was to get the userid of the administration-user of the test environment:

 

With the id of the user, I enabled the user

 

The next step was to add the “system administrator”-Role to the user. Therefore I had to find the id of the role:

 

And at the end, I added the role to the user