Exemple de fichier de configuration XML pour CRM Server

 

Date de publication : janvier 2017

S’applique à : Dynamics 365 (on-premises), Dynamics CRM 2016

Le fichier de configuration suivant installe un fichier de mise à jour situé sur un partage interne, installe un serveur complet avec toutes les fonctionnalités de Microsoft Dynamics CRM Server 2016 et crée des bases de données sur l’instance par défaut d’un serveur SQL Server appelé SQLServer.

<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="http://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>

Attention

La gestion du fichier de configuration dont les valeurs <ServiceAccountLogin> et <ServiceAccountPassword> sont spécifiées constitue un risque pour la sécurité, car vous stockez un mot de passe en texte standard. Supprimez ces éléments une fois l'installation de Microsoft Dynamics CRM Server 2016 terminée à l'aide du fichier de configuration.

Voir aussi

Microsoft Dynamics CRMFichier de configuration XML pour CRM Server
Exemple de fichier de configuration XML pour l'installation de CRM Server avec des groupes précréés

© 2017 Microsoft. Tous droits réservés. Copyright