With Dynamics CRM 2015 now available on MSDN for download I thought I’d get on top of it right away and setup a demo VM. With most MS products this is pretty easy, but Dynamics has a higher requirements list.
The prerequisites include:
- Windows Server
- Active Directory (yep you’ll need to setup a domain controller)
- SQL Server Server 2012/2014
- Reporting Services 2012/2014
- Exchange Server or a POP3/SMTP mail server (I’ll be using a POP3/SMTP server to make it easy)
- SharePoint Server (if using Document Management)
So that’s a pretty hefty list, lets get started:
Step 1, Install Windows 2012 R2 Standard Edition
I’m using VMWare (but you could use HyperV, Virtual Box as well).
- Create a new Virtual Machine, assign 8GB RAM, 80 GB HDD, 1 CPU (it’s only a demo environment so these specs should be fine)
- Attach the Windows 2012 ISO and do a vanilla installation
Step 2, Run the Active Directory wizard
CRM needs Active Directory, so run the Active directory wizard:
Figure: Configure Active Directory
- In Server Manager select Manage | Add Roles and Feature
- Installation Type | Roles-based or Feature-based installation
- Server Roles | Active Directory Domain Services
- Select Add Features
- Proceed through the wizard and select Install
- Once completed select Promote this server to a domain controller
Figure: Promote Domain Controller
- Deployment Configuration | Add new forest and enter your Root domain name [demo.local]
- Select Windows Server 2012 R2 for forest and domain function level
- Set Password for Directory Services Restore Mode
- Next, Next, Next, Next, Next, Install
- Now sit back and wait, after a reboot you will be able to login in to the domain
Note: It’s a good idea to have a static IP address on this machine, but it’s only a warning at this stage.
Step 3, Windows Server Prerequisites
- Indexing Service
- IIS Admin
- World Wide Web Publishing
- Server Manager | Manage | Add Roles and Features
- Server Roles:
- Application Server
- Web Server (IIS)
- Features:
- .Net Framework 3.5 Features
- .Net Framework 4.5 Features | ASP.NET 4.5
- Web Server Role (IIS) | Role Services:
- Application Development | ASP.NET 3.5
- Application Development | ASP.NET 4.5
- Install
Step 4, Install SQL Server
I’ll be installing SQL Server 2014 Developer Edition with the following options:
Feature Selection:
- Database Engine Services
- Full-Test and Semantic Extractions for Search
- Reporting Services Native
- Management Tools Basic
- Management Tools – Complete
Database Engine Configuration:
- Select Mixed Mode (personal preference)
- Specify SQL Server Administrators | select Add Current User
Reporting Services Native Mode:
- Select Install Only
Install using all other defaults.
Step 7, Configure Reporting Services Native Install
Run SQL Server 2014 Reporting Services Configuration Manager and set-up the Native Reporting Services installation.
This is should pretty much be a next, next, apply thing,
Mine fired up straight away by just using the defaults:
Figure: Reporting Services Configuration Manager
Figure: Reporting Services Home Page
Step 8, Install CRM 2015 (Finally!)
- Get Recommended Updates | select Get Updates (optional)
- Enter your license key
- Accept the EULA
- At this point you may have a bunch of missing required components, install them (will take a while, also you may need to reboot)
Figure: Install Required Components
- Select Default Installation Path
- Specify Server Roles | Select All Options
- Specify Deployment Options | Enter SQL Server Hostname ie: CRM2014Demo
- Select the Organizational Unit | Enter the Organizational Unit
- At this point it’s probably a good idea to jump into Active Directory Users and Computers and create an OU for CRM
Figure: Create CRM OU
Figure: Assign CRM OU
- Specify Service Accounts, Now we’ll need to specify our service accounts for the various CRM Services, since we don’t have any accounts setup, we’ll end up jumping back and forth between Active Directory Users and Computers and the CRM Installation wizard, if you’re following the CRM Planning and Installation guide you would have had this done upfront 🙂 Technet has a good guide that outlines the accounts and permissions required. As this is a DEMO environment I’m going to use NETWORK SERVICE for the accounts.
- Select Website | Default Website
- Email Router Setting | Empty
- Organization Settings | Populate with your Organisation Name and other settings
- Report Server URL | Should be pre-populated check the URL ie: http://crm2015demo/reportserver
- Next, Next, Next, Install!
Figure: CRM Install Finished
And finally let’s start CRM 2015, wow worked first go!
Figure: CRM Homepage
Step 9, Todo, Post Installation Steps
Post installation I will still need to setup a Mail Server, Reporting Services Extensions and Email Router but these tasks are pretty straight forward.
Hey Mehmet,
great post – I just installed CRM 2015! Thanks!
G
Hi
Thanks, It would be great if you had shared a prepared and ready to use virtual machine for us
Thank you so much for posting this! The Microsoft installation guides are so cryptic that they drive me nuts! This is EXACTLY what I was looking for to set up a demo environment. AWESOME!
I have tried your steps for installing Active Directory. Once I finished those step I am totall unable to connect to the internet. I am trying to set up Dynamics on a VM in virtual box
Hi Shawn,
You will need to double check your default route and that you are able to resolve DNS names. IPCONFIG, NSLOOKUP and TRACERT will assist troubleshooting, also check the Windows firewall settings. I can’t say that I ran into any of these issues when setting up the CRM demo environment. Another thing to check on the VM side is the network adaptor type. The easiest type to use is a NAT type network card (not sure of the exact naming convention for Virtual Box as I use VMWare)
Thank you so much for posting this! I’ve used this post several times as I’ve set up various demo environments. This is great! 🙂
Awesome post — helped me right out as needed. It’s great to have a full thing from start to end.