Hi,

I have been experimenting a little bit installing Dynamics CRM 2011 and in particular, migrating from a CRM 4.0 32 bits deployment and decided to share it with here the community, specially to show you how simple is the overall process.

Obviously there are complete guides downloadable here by Microsoft but they are sometimes not the best reference when you want to have a rapid and visual overview of the process, specially, about the most typical / simple case. Meaning a case where you have an existing on-premise organization with data + entities customizations and workflows.

So, I focused here on copy and pasting screenshots of a migration like that, including some brief comments and in case you need more details, I suggest you refer to installation guide.

Let's start. First of all..

Installing CRM 2011

In this case, I run SQL Server, Reporting Services and Dynamics CRM 2011 Server on the same box.

So, the step by step process was:

1. Fulfill pre-requisites by installing SQL Server 2008 / 2008R2 64 bits with SSRS. In my case this was on top of a Windows Server 2008 R2 64-bits machine.

(I am assuming you already have an Active Directory domain and the server is member of it. Also, you are administrator on local machine, domain admin or have the corresponding privileges to create new security groups in AD)

2. Start Dynamics CRM Installation by double-clicking SetupServer.exe located in Server\amd64 folder.

3. Enter the product key. For beta, use the following product keys :

· Microsoft Dynamics CRM Workgroup (5 CAL limit): FF2JM-QX9PG-HXT8M-MMHXG-4MF32

· Microsoft Dynamics CRM Server (no CAL limit): 4FDTK-3HYV2-D9CCJ-4MF9Q-QJ32X
Important
Although the application may display a 90-day trial period, these trial product keys will expire after 270 days.
Microsoft Dynamics CRM Professional edition is no longer available with Microsoft Dynamics CRM 2011.

More on this here.

clip_image002

· Accept license agreement:

clip_image004

5. Click on 'Install' to automatically install required components.

clip_image006

clip_image008

6. Choose the installation directory:

clip_image010

7. Choose the server roles. In a simple, typical installation you may leave this as default ('Full Server' option) which installs all the server roles on your Dynamics CRM Server.

clip_image012

8. Indicate the SQL Server where you want to install Dynamics CRM databases.

You can choose between a new deployment or to upgrade an existing deployment.

Remember upgrading could be done in place in case we are talking about a CRM 4.0 64 bits installation on top of SQL Server 2008 64 bits. As we are covering here the CRM 4.0 32-bits scenario, we are going to select 'Create new deployment' and after installation, we are going to import the existing CRM 4.0 32-bits organization.

clip_image014

9. Select the location where you want the Microsoft Dynamics CRM organizational unit to be installed into. Microsoft Dynamics CRM security groups are created in this organizational unit.

clip_image016

10. Specify the account to be used to run Dynamics CRM Services.

It's recommended that you use an account with low privileges, dedicated to run this services (it must a member of the Performance Log Users security group).

In this case, I just selected built-in Network service account.

clip_image018

11. Next step, if IIS is not installed, setup will install it as part of the installation and what we need to specify is the website where CRM Web Front-end will be installed.

As a best practice, you would like to create a new separate website for this case and that's in fact the option I chose.

clip_image020

12. If you plan to install e-mail Router component, enter here the name of the computer where you are going to install it. This computer will be used to route Microsoft Dynamics CRM e-mail messages. If you will not install the E-mail Router you can leave this box blank.

In this case, I just left it blank

clip_image022

13. Specify the organization settings (name, base currency)

clip_image024

14. In the Next step, you must choose the reporting services server URL.

clip_image026

15. On next step you just choose if you want to participate on the customer experience program or not.

clip_image028

16. Next step is a great news from CRM 2011 and lets you use Microsoft Update to automatically check for updates for your Dynamics CRM components.

Clearly, choosing this option is the recommended practice.

clip_image030

17. On next step the setup performs a system verification:

If everything is right, setup allows to continue. If not, you may need to troubleshoot identified issues first.

clip_image032

18. Going on with the installation, the next steps is just informative about the services that may have to be stopped or

restarted during the setup.

clip_image034

19. Ready to install! This step displays a summary of all the parameters entered for installation.

clip_image036

20. By clicking on 'Install' , setup will start copying and installing files:

clip_image038

21. When finished, you may see a window similar to the following one:

clip_image040

22. If the Reporting Server instance that you specified during this Setup points to the local computer where Microsoft Dynamics CRM is installed, Setup provides an option to invoke Microsoft Dynamics CRM Reporting Extensions Setup.

You must install the Microsoft Dynamics CRM Reporting Extensions to create, run, and schedule reports in Microsoft Dynamics CRM and it has to be installed on same machine SQL Server Reporting Services is installed.

In my case, as everything is on the same box, I checked on the option in order to install the extensions:

clip_image042

23. At this point we can see that Windows Update jump into scene in order to check if there is any update available before installing CRM Reporting Extensions.

clip_image044

If you choose 'Get updates for Microsoft Dynamics CRM (recommended)' and click on 'Next', setup will check for updates and in case there isn't any, the following dialog may appear:

clip_image046

24. By clicking on 'Next', Dynamics CRM Reporting Extensions files start to be copied:

clip_image048

25. Accept the agreement.

26. Specify the SQL server that stores the CRM Config database.

In this case, as it's everything on the same box, this points the same server.

clip_image050

27. Specify the SSRS instance. Probably you will just accept the default values.

clip_image052

28. Select the installation location

clip_image054

29. By clicking 'Next', the System Checks start. At the end you should a dialog similar to the following:

clip_image056

The warning in this case is because the CRM server and the SSRS Web site are installed on the same computer. Therefore, the CRMAppPool application pool and the ReportServer application pool are both running under the network service account.

In our environment, this is not a problem at all, so just go ahead.

30. Going on with the installation, the next steps is just informative about the services that may have to be stopped or

restarted during the setup.

clip_image058

31. Ready to install CRM Reporting Extensions!

clip_image060

32. When installation finishes, setup will display the following dialog:

clip_image062

At this point, we have CRM 2011 successfully installed!!.

You can try it and play a little bit if you want :) …

..now.. Let's go on by..

 

Upgrading from Dynamics CRM 4.0 32 bits.

33. Get a full backup of your current Organization SQL Server database on Dynamics CRM 4.0.

34. Restore the DB backup on the new SQL Server instance used for Dynamics CRM 2011.

clip_image064

35. Open Deployment Manager console (Start->All Programs->Microsoft Dynamics CRM->Deployment Manager)

clip_image066

36. Within Deployment Manager, go to Organizations->Import Organization…

clip_image068

37. Select the SQL Server instance and the Organization database to import. This corresponds to the restored DB on the SQL Server 2008/2008R2 instance used for Dynamics CRM 2011.

If everything is on the same box as this case, you may already have the values automatically inferred.

clip_image070

38. Then, the Import Organization Wizard will ask for some parameters regarding to the organization itself, such as the display name we want to use.

clip_image072

clip_image074

39. After setting the above parameters we will be asked about users mappings, this is, how the users which are present on the organization to be imported are mapped to CRM accounts.

If you are migrating from a Dynamics CRM 4.0 deployment which is on the same domain (as it is this case), you would prefer just to allow CRM 2011 to automatically map the users and create the new users as needed.

For doing so, just click on the first option and press 'Next'.

clip_image076

40. The result of the auto-mapping:

clip_image078

41. If the domain user account you are running the application is not mapped with any user with the System Administrator security role, you will be prompted with the following message:

clip_image080

This means you will have to manually map one of the accounts to the current user you are logged on. Do this by just selecting the user and clicking on 'Browse...' to specify the current user account.

42. On next step, some system checks are carried out again:

clip_image082

43. The 'Ready to Import' dialog comes up!. Just click on 'Import' to start the migration!.

clip_image084

44. The import runs (it takes some time, depending on the amount of data and customizations)...

clip_image086

45. When the import process finishes successfully, it displays the following message:

clip_image088

46. If you want to set this imported organization as your default one, just get back to Deployment Manager->Organizations , refresh data (if you had the app open while importing) and then right click the imported organization and select 'Set as Default Organization'

clip_image090

If you are not going to use the default organization created during the CRM 2011 installation, I would suggest to delete it, also by right-clicking on the organization name.

47. Now , just enter the URL on Internet Explorer and verify your data and customizations!:

clip_image092

At this point, you already installed CRM 2011 and successfully migrated an existing CRM 4.0 32-bits organization.

Note:

I could see that all the data and customizations have been successfully migrated.

Nevertheless, if your scenario includes ISV customizations (i.e. new .aspxs, javascripts, plugins code) I guess you may need to make some adjustments in order to make it work successfully on CRM 2011.