僅安裝 HelpServer 角色的範例 XML 設定檔
本文不適用於 Dynamics 365 Customer Engagement (on-premises) 9.1 版更新。 有關 9.1 版更新中的新功能資訊,請參閱最新功能。
有關 Dynamics 365 Customer Engagement (on-premises) 9.0 版的此主題資訊,請選擇位於左導航窗格上方的版本。

下列範例只會在本機電腦安裝說明伺服器角色。
<CRMSetup>
<Server>
<Patch update="true"/>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServerName</SqlServer>
<Database create="false"/>
<WebsiteUrl create="true" port="5555">LM/W3SVC/1</WebsiteUrl>
<Help anonymous="true">https://LocalHost/Help</Help>
<InstallDir>c:\Program Files\Microsoft Dynamics CRM</InstallDir>
<Roles>
<Role name="HelpServer"/>
</Roles>
<SQM optin="true"/>
<MUoptin optin="true"/>
<CrmServiceAccount type="DomainUser">
<ServiceAccountLogin>contoso\CRMHelpservice</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
<MonitoringServiceAccount type=”DomainUser”>
<ServiceAccountLogin>Contoso\CRMMonitoringService</ServiceAccountLogin>
<ServiceAccountPassword>password</ServiceAccountPassword>
</MonitoringServiceAccount>
</Server>
</CRMSetup>
重要
除非您使用 Help anonymous="true"
,否則不會設定 IIS 中的說明伺服器內容以供匿名存取。 如果沒有設定說明伺服器應用程式以供匿名存取,則可能會在使用者存取 Microsoft Dynamics 365 說明時重複提示使用者輸入驗證認證。
說明伺服器預設會使用部署管理員中出現的 Web 應用程式伺服器網址。 此外,當您在不同的電腦上安裝說明伺服器時,Microsoft Dynamics 365 Server 安裝程式也不會更新 URL。 您必須手動變更 URL。 若要變更 URL,請在執行部署工具伺服器角色的電腦上執行以下主題中的下列 Windows PowerShell 命令。
變更 Dynamics 365 HelpServer URL
下列 Windows PowerShell Cmdlet 會將 Dynamics 365 Customer Engagement (on-premises) 說明伺服器 URL 變更為 https://crmhelpserver.contoso.com,這會連入設定為使用 TLS/SSL 的網際網路對向說明伺服器。 執行 Dynamics 365 Customer Engagement (on-premises) 說明伺服器 Cmdlet 之前,您必須先註冊這些 Cmdlet。 如需詳細資訊,請參閱設定 Dynamics 365 PowerShell Cmdlet。
檢視現有的網址設定。 請注意,如果 HelpServerUrl 網址設定在您執行下列 Windows PowerShell 命令時顯示為空白,則說明伺服器會使用與 Web 應用程式伺服器 (WebAppRootDomain) 相同的網址。
Get-CrmSetting WebAddressSettings
設定說明伺服器 URL。
$websetting = Get-CrmSetting WebAddressSettings
$websetting.HelpServerUrl = “https://crmhelpserver.contoso.com”
Set-CrmSetting $websetting
再次檢視網址設定以確認新的 URL。
Get-CrmSetting WebAddressSettings
請參閱
僅安裝 WebApplicationServer 角色的 XML 設定檔範例
使用命令提示字元安裝 Microsoft Dynamics 365 Server 角色
使用命令提示字元安裝 Microsoft Dynamics 365 Reporting Extensions