Install Microsoft Dynamics CRM Full Server role on a server without Microsoft Dynamics CRM installed


Applies To: Dynamics 365 (on-premises), Dynamics CRM 2016

Install the Microsoft Dynamics CRM Server software

  1. Meet all requirements specified in Microsoft Dynamics 365 system requirements and required technologies.

  2. Log on to the domain as a user who has administrator-level privileges where Microsoft Dynamics CRM Server 2016 will be installed and who is a member of the Administrators group on the local computer. You cannot install the application as a member from a trusted domain.

  3. See the Microsoft Dynamics CRM and Microsoft Dynamics CRM Online Readme file to determine the location of the Microsoft Dynamics CRM installation files.

  4. In the folder where the Microsoft Dynamics CRM files are located, move to the Server\amd64 folder, and then double-click SetupServer.exe.

  5. On the Welcome to Microsoft Dynamics CRM Server Setup page, we recommend that you click Get updates for Microsoft Dynamics CRM, to make sure that Setup has the most recent installation files. Click Next.

  6. On the Product Key Information page, type your product key in the Product key boxes, and then click Next.

  7. On the License Agreement page, review the information and if you accept the license agreement, click I accept this license agreement, and then click I Accept.

  8. If Setup detects that components are missing, the Install Required Components page appears.

    • If you have already installed the required components, this page will not appear.

    • If you have not installed the required components listed, you can install them now. Click Install. When the components are installed, the status column will change from Not Installed to Installed, and you can click Next to continue.


    If you are prompted to restart the computer, do so, and then start Setup again.

  9. On the Select Installation Location page, accept the default location or enter a different file installation location, and then click Next.

  10. If you are installing a version of Microsoft Dynamics CRM Server 2016 that supports server roles, the Specify Server Roles page appears. By default, Full Server is selected and will install all server roles on the computer. Alternatively, you can select a predefined group of server roles or one or more individual server roles. Notice that all server roles must be deployed on the network in the same Active Directory domain forthe deployment to operate correctly. For more information, see Planning your deployment of Microsoft Dynamics 365. Click Next.


    When you select a server role other than Full Server, Microsoft Dynamics CRM Server Setup does not create an organization database during the installation. If the deployment does not have an organization database, you must use the Windows PowerShell cmdlet or Deployment Manager to create a new organization. For information about how to create a new organization using Windows PowerShell, see the New-CrmOrganization command in the Dynamics 365 PowerShell Reference.

  11. On the Specify Deployment Options page, if Setup detects an existing deployment, you can select whether you want to create a new deployment or connect to an existing deployment. In the Enter or select the name of the computer that is running SQL Server to use with the deployment box, type or select the instance of SQL Server that will be used to store the configuration database (MSCRM_CONFIG).


    When you select Create a new deployment, Setup creates a new organization database using the name that you specified and a configuration database by using the name MSCRM_CONFIG. An error message will appear if an MSCRM_CONFIG database already exists. You must delete this database to create a new MSCRM_CONFIG database. Only one deployment is supported for each instance of SQL Server.

    Currently, you can’t specify a Microsoft SQL Server 2012 Availability Group listener during Microsoft Dynamics CRM Server Setup. To use SQL Server 2012 Availability Groups for high availability, complete the Microsoft Dynamics CRM Server 2016 installation by selecting the SQL Server 2012 primary replica. After Setup is complete, follow the procedure in the Set configuration and organization databases for SQL Server AlwaysOn failover topic.

    When you select Connect to, and if necessary, upgrade an existing deployment, Setup requires that a configuration database (MSCRM_CONFIG) already exist on the computer that is running SQL Server. An error message will appear if an MSCRM_CONFIG database does not already exist.

  12. On the Select the Organizational Unit page, click Browse to display your Active Directory structure. Select the organizational unit where you want to add security groups, click OK, and then click Next.

  13. On the Specify Service Accounts page, select the security accounts for the Microsoft Dynamics 365 services, and then click Next.

    The services are described below. For more information about the service accounts required to run these services, see Minimum permissions required for Microsoft Dynamics CRM Setup and services.

    • Application Service. This service runs the Microsoft Dynamics 365 web application that is used to connect users to Dynamics 365 data.

    • Deployment Web Service. Publishes the web service that provides the deployment interface described in the Microsoft Dynamics CRM SDK, such as create an organization or manage the list of Deployment Administrators for the deployment.

    • Sandbox Processing Service. Enables an isolated environment to allow for the execution of custom code, such as plug-ins. This isolated environment reduces the possibility of custom code affecting the operation of the organizations in the deployment.

    • VSS Writer Service. The Microsoft Dynamics 365 VSS Writer service provides an interface to backup and restore Microsoft Dynamics 365 data by using the Windows Server Volume Shadow Copy Service (VSS) infrastructure.

    • Asynchronous Processing Service. Processes queued asynchronous events, such as bulk e-mail or data import.


      We strongly recommend that you select a low-privilege domain account that is dedicated to running these services and is not used for any other purpose. Additionally, the user account that is used to run a Microsoft Dynamics 365 service cannot be a Microsoft Dynamics 365 user. This domain account must be a member of the Domain Users group. Additionally, if the Asynchronous Service and Sandbox Processing Service roles are installed, such as in a Full Server or a Back End Server installation, the domain account must a member of the Performance Log Users security group.

      If you select to run the ASP.NET service under a domain user account that is not a domain administrator or a local administrator, you must set a local security policy after you install Microsoft Dynamics CRM Server 2016 for the ASP.NET service to work correctly. Also, depending on the password policies that you have implemented for your organization, the password for the user may expire. For more information, see the Microsoft Knowledge Base (KB) article 329290, How to use the ASP.NET utility to encrypt credentials and session state connection strings.

    • Monitoring Service. This service will be installed with any Microsoft Dynamics CRM Server 2016 role installation to provide event monitoring on Microsoft Dynamics 365 server roles that are running on the local computer.

  14. On the Select a Web Site page, click Create a new Web site or click Select a Web Site and select a website from the list. By default, Setup will use the default website.


    We strongly recommend that you verify the status of the existing website before you specify Setup to use an existing website.

    We strongly recommend that the website you select is configured for TLS/SSL. For more information, see the IIS documentation. During the installation, Setup will bind the application to the HTTPS website. If you select a network port other than a default port ensure that your firewall does not block the port.

    When you select the Create a new Web site option, Setup creates a new website for Microsoft Dynamics CRM Server 2016. You can specify the following option:

    • Port Number. Type the TCP port number that Microsoft Dynamics 365 clients will use to connect to the Microsoft Dynamics 365 Server. The default port number is 5555.
  15. Click Next.

  16. On the Specify Email Router Settings page, in the Email Router server name box, type the name of the computer where the Email Router will be installed. This computer will route Microsoft Dynamics 365 email messages. If you will not install the Email Router you can leave this box blank. However, if you install the Email Router later you must add the computer where the Email Router service is running when you use Local System, or if you use a domain user account, the account, to the PrivUserGroupP security group. Click Next.

  17. On the Specify the Organization Name page, specify the following information.

    1. In the Display Name box, type the name of your organization.

    2. In the Name box, you can keep the name that is automatically generated or you can type a unique name that must be limited to 30 characters. Spaces and extended characters are not allowed.

    3. Under ISO currency code, click Browse, select the ISO currency code that you will use as the base currency for the organization in the list, and then click OK.

      You can change the currency's symbol, name, or precision.

    4. In the Base Language list, select the base language for the organization.

      With Microsoft Dynamics 365 Server, only the base language of the first organization is tied to the language of the server installation. All other organizations can have different base languages, but you must first install Language Packs for the additional languages. For instructions about how to install Language Packs, see Install or upgrade Language Packs for Microsoft Dynamics 365.

    5. In the SQL collation list, keep the default selection or select a different database collation that the organization database will use to sort and compare data characters.

      The default SQL collation changes based on the base language selection.

      For more information, see Collation and Unicode support.

    6. Click Next.


      After Setup is complete, you cannot change the database collation, base ISO currency code, or the organization unique name. However, you can change the base currency name and base currency symbol.

  18. On the Specify Reporting Services Server page, type the Report Server URL. Make sure that you use the Report Server URL, not the Report Manager URL. To verify that you are using the correct URL, in a browser, type the Report Server URL as the address. You should see a page titled <server>/ReportServer - /: with text that displays the version number: Microsoft SQL Server Reporting Services Version <version number>. Click Next.

  19. On the Help Us Improve the Customer Experience page, select whether you want to participate in the Customer Experience Improvement Program, and then click Next.


    For more information, see Microsoft Customer Experience Improvement Program.

  20. On the Select Microsoft Update Preference page, select whether you want to use Microsoft Update for checking for updates for your Microsoft products, and click Next. We recommend that you use Microsoft Update to check for updates because this helps keep your computer up-to-date and secure. For more information about the legal terms and privacy with Microsoft Update licensing see Windows Update FAQ.

  21. The System Checks page appears. This page is a summary of all requirements and recommendations for a successful installation. Errors must be resolved before installation can continue. If no errors, or only warnings appear, you can continue with the installation. To do this, click Next.

  22. The Service Disruption Warning page appears. Verify the suitability of the services that will be stopped or restarted, and then click Next.

  23. Review the Ready to Install Microsoft Dynamics CRM page, and then click Back to correct any warnings. When you are ready to continue, click Install.

    When Setup completes successfully, the Microsoft Dynamics CRM Server setup completed page appears. If the Reporting Server instance that you specified during this Setup points to the local computer where Microsoft Dynamics CRM Server 2016 is installed, Setup provides an option to invoke Microsoft Dynamics CRM Reporting Extensions Setup.

  24. To install Microsoft Dynamics CRM Reporting Extensions on the computer now, select the Launch Microsoft Dynamics CRM Reporting Extensions Setup check box. Click Finish.


    • After you install Microsoft Dynamics CRM Server 2016, you must install the Microsoft Dynamics CRM Reporting Extensions to create, run, and schedule reports in Microsoft Dynamics 365. For instructions, see Install Microsoft Dynamics CRM Reporting Extensions.

    • By default, Setup turns on HTTP compression on the server that is running IIS where the Microsoft Dynamics 365 web application is installed. If you use another method to compress HTTP communications, you may want to turn this feature off. To do this, start Internet Information Services (IIS) Manager, click the website, double-click Compression, and then clear the compression check boxes.

    • For an IFD deployment, after Microsoft Dynamics CRM Server Setup completes, you must configure claims-based authentication and the relying parties on the STS server. Then, run the Internet-Facing Deployment Configuration Wizard to complete the configuration. For more information about this configuration see Configure IFD for Microsoft Dynamics 365.

See Also

Microsoft Dynamics CRM Server installation
Install Microsoft Dynamics CRM Reporting Extensions

© 2016 Microsoft. All rights reserved. Copyright