Sample XML configuration file that installs only the WebApplicationServer and OrganizationWebService roles
Applies To: Dynamics 365 (on-premises), Dynamics CRM 2016
The following example installs only the Web Application Server and Organization Web Service server roles on the local computer. In order to use this configuration file the configuration database must already exist on the Microsoft SQL Server that is named SQLServer. The feature will be installed in the default IIS website. To specify a different website, use the <WebsiteUrl> element. For more information, see Microsoft Dynamics CRM Server XML configuration file.
Note
The Web Application Server requires the Organization Web Service. Therefore, even when you specify only the WebApplicationServer role name, the Organization Web Service (OrganizationWebService) will automatically be installed.
<CRMSetup>
<Server>
<Patch update="true">\\server\share\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<Database create="false" />
<InstallDir>c:\Program Files\Microsoft Dynamics CRM</InstallDir>
<WebsiteUrl create="true" port="5555"> </WebsiteUrl>
<Roles>
<Role name="WebApplicationServer"/>
</Roles>
<SQM optin="true" />
<MUoptin optin="true" />
<CrmServiceAccount type="DomainUser">
<ServiceAccountLogin>contoso\user1</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
<MonitoringServiceAccount type=”DomainUser”>
<ServiceAccountLogin>Contoso\CRMMonitoringService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</MonitoringServiceAccount>
</Server>
</CRMSetup>
Warning
Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you are storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2016.
See Also
Install Microsoft Dynamics CRM Server roles using the command prompt
Sample XML configuration file that installs only the HelpServer role
© 2016 Microsoft. All rights reserved. Copyright