web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Installation via XML Config File (pre-created Active Directory Security Groups)

(0) ShareShare
ReportReport
Posted on by 80

I will be installing Dynamics CRM 2013 in an enterprise environment via command line/ XML config file.

1. Our environment will have pre-created Active Directory Security Groups.   

2. Our environment has several servers (Web, Front-end, back-end, reporting, SharePoint, DB,  )

Question 1. How many XML config files are required to install "Dynamics CRM 2013" across these servers?

Questions 2. What would a SAMPLE XML file look like in light of Dynamics CRM services spread across these servers and the pre-created security groups.

**Please note, I have read the installation guide and blogs, however, it is still not clear.  I would appreciate any and all feedback.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Abe Saldana Profile Picture
    390 on at

    The following is the XML Sample included on the Implementation Guide (CRMIGv6.chm)

    Searching for "Sample server XML configuration file"

     

    <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="myreportingserver/ReportServer&quot;/>

    <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>

    <ConfigDB>

    <!-- Override default Encryption key settings:  Normally these should be left as default -->

     <encryptionkeys certificate="CrmEncryptionCertificate">

    <encryptionkey physicalname="CrmSymmetricKey" virtualname="CrmKeyEncryptionKey" />

    </encryptionkeys>

    <!-- Override default CRM key settings:  Normally these should be left as default -->

    <crmkeysettings>

      <crmkeysetting>

        <keytype>CrmTicketKey</keytype>

        <keylength>128</keylength>

        <cryptotimetolive>24</cryptotimetolive>

        <keygenerationinterval>8</keygenerationinterval>

        <archivelength>7</archivelength>

        <algorithm>HMACSHA256</algorithm>

        <enabled>true</enabled>

     </crmkeysetting>

      <crmkeysetting>

        <keytype>CrmWRPCTokenKey</keytype>

        <keylength>128</keylength>

        <cryptotimetolive>168</cryptotimetolive>

        <keygenerationinterval>24</keygenerationinterval>

        <archivelength>7</archivelength>

        <algorithm>HMACSHA256</algorithm>

        <enabled>true</enabled>

     </crmkeysetting>

     <crmkeysetting>

        <keytype>CrmEmailCredentialsKey</keytype>

        <keylength>32</keylength>

        <cryptotimetolive>65535</cryptotimetolive>

        <keygenerationinterval>65535</keygenerationinterval>

        <archivelength>7</archivelength>

        <algorithm>Rijndael</algorithm>

        <enabled>true</enabled>

      </crmkeysetting>

     </crmkeysettings>

    </ConfigDB>

    <SQM optin="true"/>

    <muoptin optin="true"/>

    <!-- Settings for IFD installation.  May be skipped for intranet-only deployment.-->

    <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>

    Also Search on the Implementation Guide Help for 

    "Sample server XML configuration file for installing with pre-created groups"

    <Groups AutoGroupManagementOff="false">

       <PrivUserGroup>CN=PrivUserGroup,OU=CRM,DC=sales,DC=contoso,DC=com</PrivUserGroup>

       <SQLAccessGroup>CN=SQLAccessGroup,OU=CRM,DC=sales,DC=contoso,DC=com</SQLAccessGroup>

       <ReportingGroup>CN=ReportingGroup,OU=CRM,DC=sales,DC=contoso,DC=com</ReportingGroup>

       <PrivReportingGroup>CN=PrivReportingGroup,OU= CRM,DC=sales,DC=contoso,DC=com</PrivReportingGroup>

    </Groups>

  • roman_gryphon Profile Picture
    80 on at
    1. Does the "<OU>OU=value,DC=subdomain,DC=subdomain,DC=subdomain,DC=com</OU>" need to be defined in the XML or is it "optional"  since you have defined you AD groups?
    2. Does the"CrmServiceAccount" mapped to the service account that is used for the Microsoft Dynamics CRM services and IIS application pool(APPPOOL service account)

    <CrmServiceAccount type="DomainUser">
    <ServiceAccountLogin>Contoso\CRMAppService</ServiceAccountLogin>
    <ServiceAccountPassword>password</ServiceAccountPassword>
    </CrmServiceAccount>

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans