示例服务器 XML 配置文件
本文不适用于 Dynamics 365 Customer Engagement (on-premises) 版本 9.1 更新。 有关 update 9.1 中的新功能的信息,请参阅新增功能。
有关 Dynamics 365 Customer Engagement (on-premises) 版本 9.0 的此主题的信息,请选择上面左侧导航窗格中的版本。
以下配置文件将安装位于内部共享上的更新文件,安装完全服务器和所有 Dynamics 365 Server 功能,并在名为 SQLServer 的 SQL Server 默认实例上创建新数据库。
<CRMSetup>
<Server>
<Patch update="true">\\ServerName\ShareName\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<Database create="true"/>
<Reporting URL="https://MyReportingServer/ReportServer"/>
<OrganizationCollation>Latin1_General_CI_AI</OrganizationCollation>
<basecurrency isocurrencycode="USD" currencyname="US Dollar" currencysymbol="$" currencyprecision="2"/>
<Organization>Organization Display Name</Organization>
<OrganizationUniqueName>Organization-Name</OrganizationUniqueName>
<OU>OU=value,DC=subdomain,DC=subdomain,DC=subdomain,DC=com</OU>
<WebsiteUrl create="true" port="5555"> </WebsiteUrl>
<InstallDir>c:\Program Files\Microsoft Dynamics CRM</InstallDir>
<CrmServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMAppService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
<SandboxServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMSandboxService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</SandboxServiceAccount>
<DeploymentServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMDeploymentService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</DeploymentServiceAccount>
<AsyncServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMAsyncService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</AsyncServiceAccount>
<VSSWriterServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMVSSWriterService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</VSSWriterServiceAccount>
<MonitoringServiceAccount type="DomainUser">
<ServiceAccountLogin>Contoso\CRMMonitoringService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</MonitoringServiceAccount>
<SQM optin="true"/>
<muoptin optin="true"/>
<!-- Settings for IFD installation. May be skipped for intranet-only deployment or to configure IFD later. -->
<ifdsettings enabled="false">
<!-- Define what address considered internal, required only if enabled=true -->
<internalnetworkaddress>10.0.0.1-255.0.0.0</internalnetworkaddress>
<!-- Define URLs with IFD authentication, required only if enabled=true -->
<rootdomainscheme>http</rootdomainscheme>
<sdkrootdomain>api.contoso.com</sdkrootdomain>
<webapplicationrootdomain>app.contoso.com</webapplicationrootdomain>
<discoveryrootdomain>disc.contoso.com</discoveryrootdomain>
</ifdsettings>
<Email>
<IncomingExchangeServer name="ExchangeServerName"/>
</Email>
</Server>
</CRMSetup>
注意
维护指定 ServiceAccountLogin
和 ServiceAccountPassword
值的配置文件是一个安全风险,因为您是以纯文本格式存储密码的。 在使用配置文件安装 Dynamics 365 Server 后立即删除这些元素。
另请参阅
Microsoft Dynamics 365 Server XML 配置文件
用于使用预先创建的组安装的示例服务器 XML 配置文件