<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Niran_belliappa</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/niran_belliappa/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 06 Feb 2018 05:19:52 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Dynamics 365 Online &amp; Attachment management solution issues</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/dynamics-365-online-attachment-management-solution-issues</link>
      <pubDate>Tue, 06 Feb 2018 05:14:59 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/?p=285</guid>
      <description><![CDATA[If you are using the Attachment management solution from Microsoft Appsource to store attachments in...]]></description>
      <content:encoded><![CDATA[<p>If you are using the Attachment management solution from Microsoft Appsource to store attachments in Azure Blob storage, you might run into some of the below issues. <p>1. Trying to attach a file to an entity.<p>The spinner keeps spinning under Attachments section and cannot not find that attachment in Azure Storage.<p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image00116.png"><img width="806" height="288" title="clip_image001" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image001_thumb2.png" border="0"></a><p>2. A file can be attached, then when you go to the attachment section and try to retrieve it and you will see the below SQL Server error <p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image0022.jpg"><img width="805" height="385" title="clip_image002" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image002_thumb1.jpg" border="0"></a><p>3. Go to “Reports and Admin” on the Azure Attachment Storage and you might see the below error.&nbsp; <p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image003.png"><img width="806" height="215" title="clip_image003" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image003_thumb.png" border="0"></a><p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image004.png"><img width="811" height="303" title="clip_image004" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image004_thumb.png" border="0"></a><p><strong><font size="4">Resolution</font></strong><p>Make sure all the 3 Actions which are a part of the Attachment Management solution are activated. <p>Navigate to Settings-&gt;Customizations-&gt;Customize the System-&gt;Processes and activate <strong>Compressed Notes, EmailAttachmentData and ReportAndAdminData</strong><p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image005.png"><img width="971" height="257" title="clip_image005" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image005_thumb.png" border="0"></a><p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image0061.jpg"><img width="976" height="134" title="clip_image006" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image006_thumb1.jpg" border="0"></a>]]></content:encoded>
    </item>
    <item>
      <title>Error when updating the Dynamics CRM Outlook client with the 8.2.1 update</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/error-when-updating-the-dynamics-crm-outlook-client-with-the-8-2-1-update</link>
      <pubDate>Tue, 06 Feb 2018 04:50:37 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/?p=155</guid>
      <description><![CDATA[Issue: You will run into the below issue when you are try to push update 2.1 on CRM 2016 Outlook...]]></description>
      <content:encoded><![CDATA[<p><strong><font size="4">Issue:</font></strong> You will run into the below issue when you are try to push update 2.1 on CRM 2016 Outlook client<p><br><p><font color="#ff0000">Error| Install exception.System.Exception: Action Microsoft.Crm.UpdateWrapper.InstallTelemetryServiceForCrmClient failed. ---&gt; Microsoft.Crm.CrmException: Unable to Query service status.</font><p><a href="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image0012.jpg"><img width="827" height="642" title="clip_image001" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/02/clip_image001_thumb2.jpg" border="0"></a><p><strong><font size="4">Cause:</font></strong> This is known issue with the 2.1 update<p><br><p><strong><font size="4">Resolution:</font></strong> Install the 8.2.2 update from here <a href="https://www.microsoft.com/en-us/download/details.aspx?id=56131">https://www.microsoft.com/en-us/download/details.aspx?id=56131 </a>]]></content:encoded>
    </item>
    <item>
      <title>Dynamics CRM: Failed to delete audit data from one or more of the specified partitions</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/dynamics-crm-failed-to-delete-audit-data-from-one-or-more-of-the-specified-partitions</link>
      <pubDate>Mon, 09 Oct 2017 14:56:27 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/?p=125</guid>
      <description><![CDATA[Issue
Exception information:

    Exception type: CrmException 
    Exception message: Failed...]]></description>
      <content:encoded><![CDATA[<p style="margin: 0in"><span><strong><span style="font-size: medium">Issue</span></strong></span></p>
<p style="margin: 0in"><span style="color: #ff0000;font-size: 9pt">Exception information:
</span></p>
<p style="margin: 0in"><span style="color: #ff0000;font-size: 9pt">    Exception type: CrmException</span><span style="color: #ff0000"> </span></p>
<p style="margin: 0in"><span style="color: #ff0000;font-size: 9pt">    Exception message: Failed  to delete audit data from one or more of the specified partitions.</span></p>
<p style="margin: 0in"><span style="font-size: small">The error in the event log is:</span></p>
<p style="margin: 0in"><span style="color: #ff0000;font-size: 9pt">Failed to drop Partition  on AuditBase. Exception message ALTER TABLE SWITCH statement failed. There is no identical index in source table 'Orgname_MSCRM.dbo.AuditBase' for the index  'ndx_ObjectId' in target table 'Orgname_MSCRM.dbo.NonPartitionAuditTable' .</span></p>


<hr />
<p style="margin: 0in"><span><span style="font-size: medium"><strong>Cause</strong></span></span></p>
<p style="margin: 0in"><span style="font-size: small">You will see this error if there is a mismatch in the structure of 'ndx_ObjectId'  index from what is shipped OOB. You will have to revert it back to the OOB structure for delete partition to succeed. </span><span style="font-size: small">
</span></p>
<p style="margin: 0in"></p>
<p style="margin: 0in"><span style="font-size: small">The stored procedure creates a temporary non-partitioned table (to switch the oldest audit partition) with all OOB index schemas hard-coded. If there are any additional indexes added/ columns on existing indexes modified, the partition switching step will fail.</span></p>


<hr />
<p style="margin: 0in"><span><strong><span style="font-size: medium">Solution
</span></strong></span></p>
<p style="margin: 0in"><span><span style="color: #ff0000;font-size: 10.5pt"><strong>Disclaimer: Take a backup of your CRM databases before making any changes</strong></span></span><span style="font-size: 10.5pt"> </span></p>
<p style="margin: 0in"><span style="font-size: small">Script out the ndx_ObjectId index from the environment  and compare it to the index definition shipped OOB</span></p>
<p style="margin: 0in"></p>
<p style="margin: 0in"><span style="color: #0080ff;font-size: small">CREATE  NONCLUSTERED INDEX [ndx_ObjectId]  ON [dbo].[AuditBase]</span><span style="color: #0080ff;font-size: small"> </span></p>
<p style="margin: 0in"><span style="color: #0080ff;font-size: small">(</span><span style="color: #0080ff;font-size: small"> </span></p>
<p style="margin: 0in"><span style="color: #0080ff;font-size: small">      [ObjectId]  ASC</span><span style="color: #0080ff;font-size: small"> </span><span style="color: #0080ff;font-size: small">)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE =
OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)</span><span style="color: #0080ff;font-size: small"> </span></p>
<p style="margin: 0in"><span style="color: #0080ff;font-size: small">GO</span></p>
<p style="margin: 0in"></p>
<p style="margin: 0in"><span style="font-size: small">Drop the Index and recreate it</span></p>


<hr />]]></content:encoded>
    </item>
    <item>
      <title>Dynamics CRM CrmWRPCTokenKey Errors</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/dynamics-crm-crmwrpctokenkey-errors</link>
      <pubDate>Thu, 05 Oct 2017 15:39:19 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/?p=116</guid>
      <description><![CDATA[ErrorCurrent key (KeyType :  CrmWRPCTokenKey) is expired.&nbsp; This can indicate that a key is not...]]></description>
      <content:encoded><![CDATA[<p style="margin: 0in 0in 0pt"><b><span><font style="font-size: 12pt">Error</font></span></b></p><p style="margin: 0in 0in 0pt"><span><font color="#ff0000">Current key (KeyType :  CrmWRPCTokenKey) is expired.&nbsp; This can indicate that a key is not being regenerated correctly</font></span></p><p style="margin: 0in 0in 0pt"><span><font color="#ff0000"></font></span><hr><b><font size="3">Cause</font></b><p>This issue happens when there is an issue with async maintenance job service&nbsp; causing key renewal to fail and to temporarily fix it async restart would work. As this cleanup had not happened in the past to remove incorrect records, it never got fixed permanently.<p><strong>More details about this key </strong><p>CRM ticket keys are automatically generated and renewed and then distributed, or deployed, to all computers running Microsoft Dynamics CRM or running a specific Microsoft Dynamics CRM Server role. These keys are regenerated periodically and, in turn, replace the previous keys. By default, key regeneration occurs every 24 hours.<p><b>Web remote procedure call (WRPC) token key:</b> This key is used to generate a security token, which helps make sure that the request originated from the user who made the request. This security token decreases the likelihood of certain attacks, such as a cross-site request forgery (one-click) attack.<p><a href="https://technet.microsoft.com/en-us/library/hh699824(v=crm.6).aspx">https://technet.microsoft.com/en-us/library/hh699824(v=crm.6).aspx</a><p style="margin: 0in 0in 0pt"><br></p><hr><p style="margin: 0in 0in 0pt"><b><font size="3">Resolution</font></b></p><p>Quick fix to this issue would be to add the<b> IgnoreTokenCheck</b> registry key so that this check do not happen. On the front end servers under HKLM\Software\Microsoft\MSCRM you can add a 32 bit DWORD “IgnoreTokenCheck”&nbsp; and set it to 1. <p><a href="https://msdnshared.blob.core.windows.net/media/2017/10/clip_image0026.jpg"><img width="410" height="28" title="clip_image002" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2017/10/clip_image002_thumb4.jpg" border="0"></a><p>To get to the root cause run the below script and see how many CrmWRPCTokenKey keys are listed. </p><font style="font-size: 12pt"></font>
<p><font color="#0080ff">use MSCRM_CONFIG</font><p><font color="#0080ff">select * from CrmKey where keytype ='CrmWRPCTokenKey' order by CreatedOn</font></p><font style="font-size: 12pt"></font><p><p><p><font color="#0080ff"></font><p><font color="#0080ff"><br></font><p>You might find expired keys which we can delete by running the below script. <p><b><font color="#ff0000">Disclaimer: Take a backup of your CRM databases before making any changes.</font></b><p><font color="#0080ff">--Script to clean up all CrmWRPCTokenKey entries that are no longer required</font><p><font color="#0080ff">declare @MostRecentKeyId uniqueidentifier</font><p><font color="#0080ff">declare @CurrentActiveKeyId uniqueidentifier</font><p><font color="#0080ff">--Get most recent CrmWRPCTokenKey</font><p><font color="#0080ff">set @MostRecentKeyId =</font><p><font color="#0080ff">(select top 1 id from CrmKey</font><p><font color="#0080ff">where KeyType = 'CrmWRPCTokenKey'</font><p><font color="#0080ff">order by CreatedOn desc)</font><p><font color="#0080ff">--Get the current ActiveKeyId</font><p><font color="#0080ff">set @CurrentActiveKeyId = </font><p><font color="#0080ff">(select ActiveKeyId from CrmKeySetting </font><p><font color="#0080ff">where </font><p><font color="#0080ff">ActiveKeyId &lt;&gt; '00000000-0000-0000-0000-000000000000' </font><p><font color="#0080ff">and KeyType = 'CrmWRPCTokenKey'</font><p><font color="#0080ff">and IsConfigurationRow = 0)</font><p><font color="#0080ff">--Make sure the most recent CrmWRPCTokenKey = current ActiveKeyId</font><p><font color="#0080ff">if @CurrentActiveKeyId &lt;&gt; @MostRecentKeyId</font><p><font color="#0080ff">begin</font><p><font color="#0080ff">update CrmKeySetting</font><p><font color="#0080ff">set ActiveKeyId = @MostRecentKeyId</font><p><font color="#0080ff">where KeyType = 'CrmWRPCTokenKey' and IsConfigurationRow = 0</font><p><font color="#0080ff">end</font><p><font color="#0080ff">--Delete CrmWRPCTokenKey entries that are no longer required</font><p><font color="#0080ff">delete from CrmKeyProperties </font><p><font color="#0080ff">where id in </font><p><font color="#0080ff">(</font><p><font color="#0080ff">select distinct ckp.id</font><p><font color="#0080ff">from CrmKey ck</font><p><font color="#0080ff">inner join CrmKeyProperties ckp </font><p><font color="#0080ff">on ckp.Id = ck.id</font><p><font color="#0080ff">and ck.KeyType = 'CrmWRPCTokenKey'</font><p><font color="#0080ff">and ckp.id &lt;&gt; @MostRecentKeyId</font><p><font color="#0080ff">)</font><p><font color="#0080ff">delete from CrmKey </font><p><font color="#0080ff">where KeyType = 'CrmWRPCTokenKey'</font><p><font color="#0080ff">and id &lt;&gt; @MostRecentKeyId</font><p>Once you perform the cleanup on crmkey table, you can remove the <b>IgnoreTokenCheck</b> registry entries from CRM application servers and test it.<p>Hope this helps]]></content:encoded>
    </item>
    <item>
      <title>Error when trying to configure the CRM 2015 Outlook client</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/error-when-trying-to-configure-the-crm-2015-outlook-client</link>
      <pubDate>Tue, 07 Jul 2015 11:30:35 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2015/07/07/error-when-trying-to-configure-the-crm-2015-outlook-client/</guid>
      <description><![CDATA[Error: CrmSqlCeConnection::ExecuteInNewConnection() Unexpected Exception:...]]></description>
      <content:encoded><![CDATA[<p><strong>Error:</strong> <font color="#ff0000">CrmSqlCeConnection::ExecuteInNewConnection() Unexpected Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: <strong>Therre must be one and only one Organization record</strong> (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).</font></p>  <p><strong>Cause:</strong> This can be caused because of a duplicate Organization entry in the OrganizationBase table in the OrgDB     <br />If you have imported an organization from within the same deployment this could happen. </p>  <p><strong>Resolution:</strong>     <br />Run the query to find out if there are more than 1 record on the OrgnizationBase table.     <br /><font color="#0000ff"><em>/* Replace Orgname with your Organization name */        <br />Use <font style="background-color: #ffff00">Orgname</font>_MSCRM         <br />Select * from OrganizationBase</em></font> </p>  <p>Ideally there should be only 1 row. We need to delete the incorrect one. Query the ConfigDB to find the right Organization ID for your CRM org.    <br /><font color="#0000ff"><em>SELECT [DatabaseName],[FriendlyName] ,[Id]&#160; FROM [MSCRM_CONFIG].[dbo].[Organization]</em></font>     <br /></p>  <p>Delete the unwanted record from the OrgnizationBase table in the CRM Organization database    <br /><font color="#0000ff"><em>/* Replace Orgname with your Organization name */        <br />Use <font style="background-color: #ffff00">Orgname</font>_MSCRM         <br />Delete from Organizationbase where OrganizationId != <font style="background-color: #ffff00">'Paste the correct OrganizationId here'</font></em></font></p>  <p><font color="#ff0000"><strong>Disclaimer: Take a backup of your CRM databases before making any changes.</strong></font></p>]]></content:encoded>
    </item>
    <item>
      <title>Error when trying to remove server roles in Dynamics CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/error-when-trying-to-remove-server-roles-in-dynamics-crm-2013</link>
      <pubDate>Tue, 07 Jul 2015 10:12:07 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2015/07/07/error-when-trying-to-remove-server-roles-in-dynamics-crm-2013/</guid>
      <description><![CDATA[Error: Failure: The current user does not have required permissions (read/write) for the following...]]></description>
      <content:encoded><![CDATA[<p><strong>Error:</strong> <font color="#ff0000">Failure:</font> <font color="#ff0000">The current user does not have required permissions (read/write) for the following Active Directory group: CN=ReportingGroup {94a899b0-954f-447d-86c9-7ac7bd0a081d},OU=CRM 2013,OU=Applications,DC=corp,DC=erac,DC=com</font></p>  <p><strong>Cause:</strong>The user does not have the required permissions. </p>  <p><strong>Solution:</strong> Provide Full Control permission for the user running the setup.</p>  <p>Full Control on the Reporting Group    <br />Full Control on the PrivReporting Group     <br />Full Control on the SQLAccess Group     <br />Full Control on the PrivUser Group</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0042.clip_image001_2696C790.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0042.clip_5F00_image001_5F00_2696C790.jpg"><img title="clip_image001" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1856.clip_image001_thumb_48822A14.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1856.clip_5F00_image001_5F00_thumb_5F00_48822A14.jpg" width="406" height="479" /></a></p>  <p><strong>Error:</strong> <font color="#ff0000">Check SqlServerAgentValidator : Failure: SQLSERVERAGENT (SQLSERVERAGENT) service is not running on the server</font></p>  <p><strong>Cause:</strong> The user who is running Setup does not have local administrator permissions for the computer on which Microsoft SQL Server is running. </p>  <p>The SQLSERVERAGENT service is not running on the specified computer where SQL Server is running. </p>  <p><strong>Solution:</strong>     <br />Add user to the local Admin group on the SQL Server     <br />Start SQL Agent service     <br />Add the user in SQL Server and give sysadmin role</p>]]></content:encoded>
    </item>
    <item>
      <title>Installing and Configuring the E-mail Router for Exchange Online and Dynamics CRM Online</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/installing-and-configuring-the-e-mail-router-for-exchange-online-and-dynamics-crm-online</link>
      <pubDate>Thu, 10 Apr 2014 07:59:21 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2014/04/10/installing-and-configuring-the-e-mail-router-for-exchange-online-and-dynamics-crm-online/</guid>
      <description><![CDATA[Before we go about installing the E-mail Router lets have a look at the minimum Hardware and...]]></description>
      <content:encoded><![CDATA[<p>Before we go about installing the E-mail Router lets have a look at the minimum Hardware and Software requirements required.</p>  <h3><a name="_Toc367800202">Microsoft Dynamics CRM 2013 Email Router hardware requirements</a></h3>  <table cellspacing="0" cellpadding="0" width="527" border="1"><tbody>     <tr>       <td valign="top" width="112">         <p><b>Component</b></p>       </td>        <td valign="top" width="274">         <p><b>*Minimum</b></p>       </td>        <td valign="top" width="139">         <p><b>*Recommended</b></p>       </td>     </tr>      <tr>       <td valign="top" width="112">         <p>Processor (32-bit)</p>       </td>        <td valign="top" width="274">         <p>750-MHz CPU or comparable</p>       </td>        <td valign="top" width="139">         <p>Multi-core 1.8-GHz CPU or higher</p>       </td>     </tr>      <tr>       <td valign="top" width="112">         <p>Processor (64-bit)</p>       </td>        <td valign="top" width="274">         <p>x64 architecture or compatible 1.5 GHz processor</p>       </td>        <td valign="top" width="139">         <p>Multi-core x64 architecture 2GHz CPU or higher such as AMD Opteron or Intel Xeon systems</p>       </td>     </tr>      <tr>       <td valign="top" width="112">         <p>Memory</p>       </td>        <td valign="top" width="274">         <p>1-GB RAM</p>       </td>        <td valign="top" width="139">         <p>2-GB RAM or more</p>       </td>     </tr>      <tr>       <td valign="top" width="112">         <p>Hard disk</p>       </td>        <td valign="top" width="274">         <p>100 MB of available hard disk space</p>       </td>        <td valign="top" width="139">         <p>100 MB of available hard disk space</p>       </td>     </tr>   </tbody></table>  <p>*Actual requirements and product functionality may vary based on your system configuration and operating system.</p>  <h3><a name="_Toc367800204">Microsoft Dynamics CRM 2013 Email Router software requirements</a></h3>  <p><a title="https://technet.microsoft.com/en-us/library/hh699689(v=crm.6).aspx" href="https://technet.microsoft.com/en-us/library/hh699689(v=crm.6).aspx">https://technet.microsoft.com/en-us/library/hh699689(v=crm.6).aspx</a>&#160;</p>  <h3><strong></strong></h3>  <h3>Install the Email Router</h3>  <p><strong>1.</strong> Download the CRM 2013 Email router from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=40342" target="_blank">here</a> and <strong>run the Setup</strong></p>  <p><strong>2. </strong>On the Welcome to Microsoft Dynamics CRM 2013 Email Router setup page, select whether you want to update Email Router setup. We recommend that you click<strong> Get updates for Microsoft Dynamics CRM</strong>. Then, click Next</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1134.image_3DC28354.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1134.image_5F00_3DC28354.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3755.image_thumb_0199485D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3755.image_5F00_thumb_5F00_0199485D.png" width="530" height="404" /></a></p>  <p><strong>3. </strong>On the License Agreement page, review the information and if you accept the license agreement, click <strong>I accept this license agreement</strong>, and then click<strong> I Accept</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6648.image_6C3E23A5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6648.image_5F00_6C3E23A5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0042.image_thumb_574F31E3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0042.image_5F00_thumb_5F00_574F31E3.png" width="534" height="404" /></a></p>  <p><strong>4. </strong>If required components are missing, the <strong>Install Required Components</strong> page appears. If this page does not appear, all required components are installed, and you can skip to the next step in the installation procedure</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2055.image_16434330.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2055.image_5F00_16434330.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0247.image_thumb_01C08463.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0247.image_5F00_thumb_5F00_01C08463.png" width="534" height="404" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8244.image_133375EC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8244.image_5F00_133375EC.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8562.image_thumb_54CDB238.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8562.image_5F00_thumb_5F00_54CDB238.png" width="533" height="404" /></a></p>  <p><strong>5.</strong> On the Select Router Components page, select either or both options, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1663.image_1FC3B3B9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1663.image_5F00_1FC3B3B9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0243.image_thumb_2F664F7B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0243.image_5F00_thumb_5F00_2F664F7B.png" width="539" height="404" /></a></p>  <p><strong>6.</strong> On the Select Microsoft Update Preference page, select how you would like Install the updates. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2626.image_73A94778.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2626.image_5F00_73A94778.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7183.image_thumb_37EC3F76.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7183.image_5F00_thumb_5F00_37EC3F76.png" width="543" height="404" /></a></p>  <p><strong>7. </strong>On the Select Install Location page, either accept the Default file installation directory or Browse to indicate a different location, and then click Next.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7536.image_6DF0BE83.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7536.image_5F00_6DF0BE83.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7563.image_thumb_2B80ACFE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7563.image_5F00_thumb_5F00_2B80ACFE.png" width="546" height="404" /></a></p>  <p><strong>8. </strong>The System Checks page appears. This page is a summary of all system requirements for a successful Email Router installation. Verification errors must be corrected before the installation can continue. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0361.image_6FC3A4FB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0361.image_5F00_6FC3A4FB.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2768.image_thumb_65FE3D83.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2768.image_5F00_thumb_5F00_65FE3D83.png" width="548" height="404" /></a></p>  <p><strong>9.</strong> The Ready to Install page appears. Review the installation selections that you have made. Click Back to change your selections, or Install to install now.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6136.image_42D0D2D1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6136.image_5F00_42D0D2D1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7455.image_thumb_2E4E1404.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7455.image_5F00_thumb_5F00_2E4E1404.png" width="554" height="404" /></a></p>  <p><strong>10.</strong> After Email Router Setup is finished installing files, click Finish. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5466.image_64529311.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5466.image_5F00_64529311.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8484.image_thumb_6A9BFA50.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8484.image_5F00_thumb_5F00_6A9BFA50.png" width="556" height="404" /></a></p>  <h3>Configure the Email Router</h3>  <p><strong>1.</strong> <strong>Open the Email Router Configuration Manager</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5504.image_3E818E10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5504.image_5F00_3E818E10.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8255.image_thumb_3FE5B0E2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8255.image_5F00_thumb_5F00_3FE5B0E2.png" width="554" height="364" /></a></p>  <p><strong>2.</strong> <strong>Create the Incoming Profile</strong></p>  <p>a. Click <strong>Configuration Profiles</strong> and then click <strong>New</strong>.</p>  <p>b. In the E-mail Router Configuration Profile dialog box, type a profile name. For example, type <em><strong>Incoming Profile</strong></em>.</p>  <p>c. For Direction, select <strong>Incoming</strong>.</p>  <p>d. For E-mail Server Type, select <strong>ExchangeOnline</strong>.</p>  <p>e. For Location, you could either check AutoDiscover or you could type the Exchange Web Services URL. </p>  <p><a title="https://outlook.office365.com/EWS/Exchange.asmx" href="https://outlook.office365.com/EWS/Exchange.asmx">https://outlook.office365.com/EWS/Exchange.asmx</a></p>  <p>f. Under Access Credentials, notice that the only option is Other Specified.</p>  <p>For User Name and Password, enter the credentials that the E-mail Router will use to retrieve e-mail messages from the Exchange Online mailbox to which this profile is mapped. The credentials can be either those of the Exchange Online mailbox or those of the Exchange Online tenant administrator. Enter the user name in the username@fulldomain format. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5074.image_3215FB98.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5074.image_5F00_3215FB98.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0624.image_thumb_41B8975A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0624.image_5F00_thumb_5F00_41B8975A.png" width="336" height="404" /></a></p>  <p><strong>3.</strong> <strong>Create the Outgoing Profile.</strong> </p>  <p>a. Click <strong>Configuration Profiles</strong> and then click <strong>New</strong>.</p>  <p>b. In the E-mail Router Configuration Profile dialog box, type a profile name. For example, type <em><strong>Outgoing Profile.</strong></em></p>  <p>c. For Direction, select <strong>Outgoing</strong>.</p>  <p>d. For E-mail Server Type, select <strong>ExchangeOnline</strong>.</p>  <p>e. For Location, you could either check AutoDiscover or you could type the Exchange Web Services URL. </p>  <p><a title="https://outlook.office365.com/EWS/Exchange.asmx" href="https://outlook.office365.com/EWS/Exchange.asmx">https://outlook.office365.com/EWS/Exchange.asmx</a></p>  <p>f. The value for Access Credentials is automatically set to Other Specified</p>  <p>g. Select the User Type. Your choices are <strong>User</strong> and <strong>Administrator</strong>.</p>  <p>Select <strong>User</strong> if you want the E-mail Router to connect to the Exchange Online mailbox of the user whose mail it will route. The E-mail Router will authenticate by using that user’s e-mail address, which it obtains from the Primary E-mail<em> </em>field of the user record that is stored in Dynamics CRM. </p>  <p>Select <strong>Administrator</strong> if you want to use a single set of credentials to process multiple mailboxes, or if you want to provide a different set of e-mail credentials to process individual mailboxes. If you select Administrator, the E-mail Router will use the specified credentials to connect to any mailbox within the Exchange Online tenant to send e-mail messages. </p>  <p>h. If you select <strong>Administrator</strong> as the user type, select either Delegate Access or Send as permission as the access type. </p>  <p><strong>Delegate Access</strong> causes e-mail to be sent as &quot;Send on behalf of&quot; messages. </p>  <p><strong>Send as permission</strong> causes e-mail to be sent as &quot;Send As&quot; messages.</p>  <p>i. Save the configuration profile by clicking <strong>Publish</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0167.image_431CBA2C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0167.image_5F00_431CBA2C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0537.image_thumb_00ACA8A7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0537.image_5F00_thumb_5F00_00ACA8A7.png" width="336" height="404" /></a></p>  <p><strong>4. </strong><a name="_Toc290464729"><font color="#000000"><strong>Configure the Microsoft Dynamics CRM deployment</strong></font></a></p>  <p>a. Click the <strong>Deployments</strong> tab. </p>  <p>b. Click <strong>New</strong> to create a new deployment.</p>  <p>c. Make sure that the Deployment option is set to <strong>Microsoft Dynamics CRM Online</strong>.</p>  <p>d. For Microsoft Dynamics CRM Server, type the URL address of Microsoft Dynamics CRM Online. This could vary depending upon the region of the world in which you are located. </p>  <p>North America- <a href="https://disco.crm.dynamics.com/OrgnanizationName">https://disco.crm.dynamics.com/OrgnanizationName</a> </p>  <p>EMEA - <a href="https://disco.crm4.dynamics.com/OrgnanizationName">https://disco.crm4.dynamics.com/OrgnanizationName</a> </p>  <p>APAC - <a href="https://disco.crm5.dynamics.com/OrgnanizationName">https://disco.crm5.dynamics.com/OrgnanizationName</a> </p>  <p>To find out the OrgnizationName in CRM Online you can navigate to <strong>Settings</strong> and expand <strong>Customization</strong>. On the Customization page, click <strong>Developer Resources</strong>. The <em>OrganizationName</em> is displayed below the Organization Unique Name label.</p>  <p>e. Notice that Other Specified is automatically specified for Access Credentials.</p>  <p>f. For Incoming configuration profile, select the incoming profile that you created</p>  <p>g. For Outgoing configuration profile, select the outgoing profile that you created</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7220.image_00430663.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7220.image_5F00_00430663.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0458.image_thumb_7AF41FB1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0458.image_5F00_thumb_5F00_7AF41FB1.png" width="366" height="404" /></a></p>  <p><strong>5.</strong> <a name="_Toc290464730"><font color="#000000"><strong>Set e-mail access type to E-mail Router in Microsoft Dynamics CRM</strong></font></a></p>  <p>Before users can send and receive e-mail by using the Microsoft Dynamics CRM E-mail Router, you must configure each user for this functionality. </p>  <p>a. Click <strong>Settings</strong>, click <strong>Administration</strong>, and then click <strong>Users</strong>.</p>  <p>b. Double-click the user’s name to open the user record.</p>  <p>c. Select <strong>Server- Side Synchronization or E-mail Router</strong> in the Incoming and the Outgoing Email Delivery Method. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8688.image_73D773EA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8688.image_5F00_73D773EA.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3857.image_thumb_4ED9B371.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3857.image_5F00_thumb_5F00_4ED9B371.png" width="554" height="64" /></a></p>  <p><font color="#000000"><strong>6. </strong></font><a name="_Toc290464731"><font color="#000000"><strong>Test and publish the new profiles and deployment</strong></font></a></p>  <p>a. Click the <strong>Users, Queues, and Forward Mailboxes</strong> tab.</p>  <p>b. Under Select a CRM Deployment to view users and mailboxes, <strong>select the deployment</strong> that you created.</p>  <p>c. Click <strong>Load Data</strong>. This displays the Microsoft Dynamics CRM users who are configured to use the E-mail Router. </p>  <p>If an error appears when you click Load Data, verify that the correct organization name is listed under Select a CRM Deployment to view users and mailboxes.</p>  <p>Clicking Load Data displays only users with approved e-mail addresses, regardless of the e-mail settings of those users.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7181.image_45144BF9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7181.image_5F00_45144BF9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1616.image_thumb_29061DBF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1616.image_5F00_thumb_5F00_29061DBF.png" width="554" height="365" /></a></p>  <p><strong>7. Click Test Access. </strong>The E-mail Router Configuration Manager performs tests on selected users for both the incoming and the outgoing profile. A successful test displays a &quot;Succeeded&quot; message in green text. </p>  <p>Click <strong>Publish</strong></p>  <p><strong></strong></p>  <p>Hope this is useful. </p>]]></content:encoded>
    </item>
    <item>
      <title>Upgrading Dynamics CRM 2011 to CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/upgrading-dynamics-crm-2011-to-crm-2013</link>
      <pubDate>Thu, 10 Apr 2014 03:35:24 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2014/04/10/upgrading-dynamics-crm-2011-to-crm-2013/</guid>
      <description><![CDATA[In-place Upgrade  This blog shows you the steps you have to perform to Upgrade from CRM 2011 to CRM...]]></description>
      <content:encoded><![CDATA[<h1>In-place Upgrade</h1>  <p>This blog shows you the steps you have to perform to Upgrade from CRM 2011 to CRM 2013</p>  <p><strong><font color="#ff0000">Warning:</font> </strong>Following these steps may cause significant application downtime if issues occur during the upgrade. Instead of using an upgrade option that may affect the production deployment, we recommend that you migrate your deployment to Microsoft Dynamics CRM 2013. </p>  <p><strong>Note: </strong>We strongly recommend that you back up your existing Microsoft Dynamics CRM data, including all reports and customizations, before you run Setup. </p>  <p>Complete a full backup of all production configuration and organization databases and transaction logs.</p>  <p>Only Microsoft Dynamics CRM 2011 Update Rollup 6 (version 05.00.9690.1992) or Microsoft Dynamics CRM 2011 Update Rollup 14 or later update rollup versions can be upgraded to Microsoft Dynamics CRM 2013. </p>  <p>The user who is running Microsoft Dynamics CRM Server Setup to upgrade an existing Microsoft Dynamics CRM deployment must be a member of the Deployment Administrators group. Additionally, the user must have db_owner permission on the Microsoft Dynamics CRM 2011 databases and have sysadmin permission on the SQL Server. </p>  <h4><a name="_Toc367857961">Tasks to perform before the upgrade</a></h4>  <p>· We recommend that you apply the latest <a href="https://support.microsoft.com/kb/2555051">Microsoft Dynamics CRM 2011 updates and hotfixes</a> before you start the upgrade.</p>  <p>. Check if the current customizations will be compatible with Dynamics CRM 2013. You can use the Legacy Feature check and Custom Code Validation Tool to do that. <a title="https://blogs.msdn.com/b/crmindia/archive/2013/09/20/legacy-feature-check-and-custom-code-validation-tool-demos-for-upgrade-to-crm-2013.aspx" href="https://blogs.msdn.com/b/crmindia/archive/2013/09/20/legacy-feature-check-and-custom-code-validation-tool-demos-for-upgrade-to-crm-2013.aspx">https://blogs.msdn.com/b/crmindia/archive/2013/09/20/legacy-feature-check-and-custom-code-validation-tool-demos-for-upgrade-to-crm-2013.aspx</a>&#160;</p>  <p>· Meet all requirements as specified under Microsoft Dynamics CRM Server 2013 hardware requirements and Microsoft Dynamics CRM Server 2013 software requirements in the Planning Guide.</p>  <p>· Log on to your domain as a user who has administrator-level permission.</p>  <p>· SQL Server replication isn’t supported with Microsoft Dynamics CRM. If you run SQL Server replication, disable it.</p>  <p>· Make sure that the Microsoft Dynamics CRM server that you’re upgrading is connected to the Internet. If you don’t have Internet access on that server, see <a href="https://go.microsoft.com/fwlink/?LinkID=313467">KB article: How to obtain the setup updates for Microsoft Dynamics CRM 2013</a>.</p>  <p>· Uninstall Microsoft Dynamics CRM Connector for SQL Server Reporting Services if it’s installed on the same computer where Microsoft Dynamics CRM Server 2011 is installed. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8372.image_30702252.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8372.image_5F00_30702252.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7752.image_thumb_2C73B558.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7752.image_5F00_thumb_5F00_2C73B558.png" width="554" height="164" /></a></p>  <h4></h4>  <h4><a name="_Toc367857962">Run the upgrade</a></h4>  <p><strong>1.</strong> In the folder where the Microsoft Dynamics CRM files are located, go to the Server\amd64 folder, and then double-click <strong>SetupServer.exe.</strong></p>  <p><strong>2.</strong> On the Welcome to Microsoft Dynamics CRM Server 2013 Setup page, we recommend that you select Get updates for Microsoft Dynamics CRM, to make sure that Setup has the most recent installation files. Click Next. After Setup is done checking for updates, click Next again.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2068.image_5CA8E0F3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2068.image_5F00_5CA8E0F3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3312.image_thumb_14697BFC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3312.image_5F00_thumb_5F00_14697BFC.png" width="543" height="404" /></a></p>  <p><strong>3.</strong> On the Product Key Information page, type your product key in the Product key boxes, and then click Next.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2625.image_077D7CC3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2625.image_5F00_077D7CC3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8546.image_thumb_6D2B6A83.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8546.image_5F00_thumb_5F00_6D2B6A83.png" width="551" height="404" /></a></p>  <p><strong>4.</strong> On the License Agreement page, review the information and if you accept the license agreement, click I accept this license agreement, and then click I Accept.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1581.image_2B9F0F0F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1581.image_5F00_2B9F0F0F.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0068.image_thumb_0FB58C2A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0068.image_5F00_thumb_5F00_0FB58C2A.png" width="554" height="404" /></a></p>  <p><strong>5.</strong> If Setup detects that components are missing, the Install Required Components page appears.</p>  <p>· If you have already installed the required components, this page won’t appear.</p>  <p>· If you haven’t installed the required components listed, you can install them now. Click or tap Install. When the components are installed, the status column changes from Not Installed to Installed, and you can click Next to continue.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3755.image_6ABA5C61.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3755.image_5F00_6ABA5C61.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2046.image_thumb_7A5CF823.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2046.image_5F00_thumb_5F00_7A5CF823.png" width="548" height="404" /></a></p>  <p>If you’re prompted to restart the computer, do so, and then start Setup again.</p>  <p><strong>6</strong>. On the Upgrade to Microsoft Dynamics CRM 2013 page, you can <strong>select an organization</strong> to upgrade <strong>or </strong>leave the choice <strong>&lt;None&gt;</strong> so that no organizations will be upgraded during Setup. Before you select an organization, consider the following:</p>  <p>· By default, during an organization upgrade, every base and extension table will become merged. For large organization databases that are highly customized the merging may take several hours to complete. For more information, see <a href="file:///C:/Users/niranbe/AppData/Local/Temp/Temp8_Microsoft_Dynamics_CRM_2013_IG.zip/#z4506222409b543daa4b7e5c1c5dc0672">Run the base and extension table merge as a separate operation</a>. </p>  <p>· New indexes will be added during organization upgrade, which can potentially overwrite existing custom indexes or indexes added by installing a solution. For more information, see Upgrade issues and considerations.</p>  <p>· Notice that any organization not upgraded will become disabled after the upgrade is complete. To upgrade organizations, use Deployment Manager.</p>  <p>Click Next to upgrade Microsoft Dynamics CRM.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4628.image_19A22FA8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4628.image_5F00_19A22FA8.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4201.image_thumb_145348F7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4201.image_5F00_thumb_5F00_145348F7.png" width="554" height="404" /></a></p>  <p><strong>7.</strong> On the Specify Service Accounts page, Setup will add the service accounts used for the Microsoft Dynamics CRM Server 2011 services. You can use the existing service accounts or specify new ones. Additionally, there are two new service accounts for the VSS Writer Service and the Monitoring Service that you must specify. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5123.image_25C63A80.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5123.image_5F00_25C63A80.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4807.image_thumb_5EDFA833.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4807.image_5F00_thumb_5F00_5EDFA833.png" width="560" height="404" /></a></p>  <p><strong>8</strong>. On the Specify E-mail Router Settings page, in the Email Router server name box, type the name of the computer where the Email Router will be installed. This computer will route Microsoft Dynamics CRM email messages. If you will not use the Email Router you can leave this box blank. However, to use the Email Router you must add the computer where the Email Router Service is running (part of the Asynchronous Service) when you use Network Service, or if you use a domain user account, the account to the PrivUserGroup security group. Click Next.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1738.image_373BBCBA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1738.image_5F00_373BBCBA.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8510.image_thumb_31ECD609.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8510.image_5F00_thumb_5F00_31ECD609.png" width="559" height="404" /></a></p>  <p><strong>9.</strong> If you aren’t using Microsoft Update, on the Select Microsoft Update Preference page, you must select either of the following options. </p>  <p>· Use Microsoft Update when I check for updates (recommended). By selecting this option, Microsoft Dynamics CRM Server 2013 will use the Microsoft Update settings on the computer.</p>  <p>· I don’t want to use Microsoft update. You should only select this option if the computer uses another method to install updates such as by using Windows Update Services.</p>  <p><strong>10.</strong> The System Checks page appears. This page is a summary of all requirements and recommendations for a successful installation. Errors must be resolved before installation can continue. If no errors, or only warnings appear, you can continue with the installation. To do this, click Next.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5367.image_0395E10D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5367.image_5F00_0395E10D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5241.image_thumb_0EC1FC08.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5241.image_5F00_thumb_5F00_0EC1FC08.png" width="567" height="404" /></a></p>  <p><strong>11.</strong> The Service Disruption Warning page appears. This page lists all services that will be stopped or restarted during Setup.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5277.image_2990B2C5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5277.image_5F00_2990B2C5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1732.image_thumb_58E2284F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1732.image_5F00_thumb_5F00_58E2284F.png" width="572" height="404" /></a></p>  <p><strong>12.</strong> Review the Ready to Upgrade the Application page, and click Back to correct any errors. When you are ready to continue, click Upgrade.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6545.image_0A702696.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6545.image_5F00_0A702696.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3005.image_thumb_4EB31E93.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3005.image_5F00_thumb_5F00_4EB31E93.png" width="576" height="404" /></a></p>  <p>When Setup completes successfully, the Microsoft Dynamics CRM Server Setup completed page appears. If the Reporting Server instance that you specified during this Setup points to the local computer where Microsoft Dynamics CRM is installed, Setup provides an option to invoke Microsoft Dynamics CRM Reporting Extensions Setup.</p>  <p><strong>13.</strong> For a full server deployment running on the Microsoft SQL Server Reporting Services computer, select the Launch Microsoft Dynamics CRM Reporting Extensions Setup check box to install Microsoft Dynamics CRM Reporting Extensions. Click&#160; Finish.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3771.image_66D9199F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3771.image_5F00_66D9199F.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3716.image_thumb_666F775B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3716.image_5F00_thumb_5F00_666F775B.png" width="578" height="203" /></a></p>  <p><strong>14. </strong>Welcome to Microsoft Dynamics CRM Reporting Extensions Setup </p>  <p>Select whether you want to update Microsoft Dynamics CRM Server Setup. We recommend that, if updates are available, you let Setup download the latest version. </p>  <p>To do this, click <strong>Get updates for Microsoft Dynamics CRM,</strong> wait until the update process is complete, and then click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0435.image_7CC51CA0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0435.image_5F00_7CC51CA0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5141.image_thumb_3A550B1B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5141.image_5F00_thumb_5F00_3A550B1B.png" width="581" height="404" /></a></p>  <p><strong>15.</strong> Review the information and, if you accept the license agreement, click <strong>I accept this license agreement</strong>, and then click <strong>I Accept</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0724.image_1727A069.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0724.image_5F00_1727A069.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3324.image_thumb_0957EB1F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3324.image_5F00_thumb_5F00_0957EB1F.png" width="582" height="404" /></a></p>  <p><strong>16. </strong>If you are using the default instance of the SQL Server, enter the name of the computer that is running SQL Server and contains the Microsoft Dynamics CRM configuration database that is named MSCRM_CONFIG, and then click Next.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1321.image_76394F23.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1321.image_5F00_76394F23.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3323.image_thumb_05DBEAE6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3323.image_5F00_thumb_5F00_05DBEAE6.png" width="586" height="404" /></a></p>  <p><strong>17. </strong>Select a Microsoft SQL Server Reporting Services instance that will be used for Microsoft Dynamics CRM reporting, and then click Next. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6470.image_69CDBCAB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6470.image_5F00_69CDBCAB.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6355.image_thumb_647ED5FA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6355.image_5F00_thumb_5F00_647ED5FA.png" width="589" height="404" /></a></p>  <p><strong>18.</strong> Click Browse, and select a path where you want to install CRM Reporting Extensions, and then click Next. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2570.image_765DFA78.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2570.image_5F00_765DFA78.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6646.image_thumb_4CE9B938.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6646.image_5F00_thumb_5F00_4CE9B938.png" width="593" height="404" /></a></p>  <p><strong>19.</strong> This page is a summary of the requirements for a successful CRM Reporting Extensions installation. Errors must be corrected before installation can continue. All errors must be resolved. If no errors or only warnings appear, you can continue with the installation. To do this, click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4428.image_5EC8DDB6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4428.image_5F00_5EC8DDB6.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5556.image_thumb_4E506CBB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5556.image_5F00_thumb_5F00_4E506CBB.png" width="594" height="404" /></a></p>  <p><strong>20. </strong>This page lists all services that will be stopped or restarted during Setup </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5187.image_4B3E0EC6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5187.image_5F00_4B3E0EC6.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3731.image_thumb_21C9CD86.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3731.image_5F00_thumb_5F00_21C9CD86.png" width="598" height="404" /></a></p>  <p><strong>21.</strong> Review this page, and then click Back to correct any errors. When you are ready to continue, click Install.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4621.image_7372D889.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4621.image_5F00_7372D889.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2211.image_thumb_3102C704.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2211.image_5F00_thumb_5F00_3102C704.png" width="601" height="404" /></a></p>  <p><strong>22.</strong> Click Finish</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3107.image_67074611.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3107.image_5F00_67074611.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6685.image_thumb_1F484DDB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6685.image_5F00_thumb_5F00_1F484DDB.png" width="602" height="404" /></a></p>  <p><strong>At step 6 if you had left the choice to <strong>&lt;None&gt;</strong> so that no organizations will be upgraded during Setup and you want to manually upgrade each organization&#160; you can do it through the deployment manager using the Upgrade Organization Wizard</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6138.image_01002796.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6138.image_5F00_01002796.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0624.image_thumb_3E901610.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0624.image_5F00_thumb_5F00_3E901610.png" width="600" height="404" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3782.image_48E3CB21.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3782.image_5F00_48E3CB21.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6886.image_thumb_2D41CFDC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6886.image_5F00_thumb_5F00_2D41CFDC.png" width="601" height="404" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7356.image_1E99B4A8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7356.image_5F00_1E99B4A8.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6237.image_thumb_727F4867.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6237.image_5F00_thumb_5F00_727F4867.png" width="602" height="324" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Network Load Balancing Microsoft Dynamics CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/network-load-balancing-microsoft-dynamics-crm-2013</link>
      <pubDate>Mon, 17 Feb 2014 08:30:09 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2014/02/17/network-load-balancing-microsoft-dynamics-crm-2013/</guid>
      <description><![CDATA[Deploying Microsoft Dynamics CRM&#160; on a Network Load Balanced (NLB) server cluster is a...]]></description>
      <content:encoded><![CDATA[<p>Deploying Microsoft Dynamics CRM&#160; on a Network Load Balanced (NLB) server cluster is a supported way to get increased scalability and performance from your CRM deployment.</p>  <p>In this blog I will walk you through the steps you have to follow to setup CRM 2013 in a NLB mode. </p>  <h2>My Infrastructure Details</h2>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8156.image_671C027B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8156.image_5F00_671C027B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3568.image_thumb_2E6EC7BD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3568.image_5F00_thumb_5F00_2E6EC7BD.png" width="554" height="401" /></a></p>  <p>Before you go about the setup I would suggest you go through the below articles for the best possible configuration.</p>  <p><a href="https://technet.microsoft.com/en-us/library/cc754833(WS.10).aspx" target="_blank">Network Load Balancing Deployment Guide</a></p>  <p><a href="https://technet.microsoft.com/en-us/library/cc730915(v=ws.10).aspx" target="_blank">Checklist: Preparing to Implement the Cluster</a></p>  <p><a href="https://technet.microsoft.com/en-us/library/cc740265(v=ws.10).aspx" target="_blank">Network Load Balancing Best practices</a></p>  <p><a href="https://technet.microsoft.com/en-us/library/cc771709.aspx" target="_blank">Network Load Balancing Manager Properties</a></p>  <h2></h2>  <h2>Step 1: Enable network load balancing</h2>  <h2>Step 2: Configure Active Directory</h2>  <h2>Step 3: Install Microsoft Dynamics CRM servers</h2>  <h2>Step 4: Configure NLB for the deployment</h2>  <h2>Step 5: Test it out</h2>  <h1>Step1: Enable network load balancing</h1>  <h1></h1>  <p><strong>1. On CRM1 and CRM2 Add the Network Load balancing feature through the Server Manager.</strong> </p>  <h1><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6330.image_71B73F2C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6330.image_5F00_71B73F2C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4456.image_thumb_200E3429.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4456.image_5F00_thumb_5F00_200E3429.png" width="554" height="394" /></a></h1>  <p>2. Open Network Load Balancing Manager, click <strong>Server Manager,</strong> click <strong>Tools</strong>, and then click <strong>Network Load Balancing Manager</strong>. You can also open Network Load Balancing Manager by typing <strong>Nlbmgr</strong> at a command prompt.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6507.image_728A83B4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6507.image_5F00_728A83B4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1680.image_thumb_5827FFEC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1680.image_5F00_thumb_5F00_5827FFEC.png" width="554" height="395" /></a></p>  <p>3. Right-click <strong>Network Load Balancing Clusters</strong>, and then click <strong>New Cluster</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7485.image_38E2C868.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7485.image_5F00_38E2C868.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2273.image_thumb_1BDA19A0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2273.image_5F00_thumb_5F00_1BDA19A0.png" width="554" height="382" /></a></p>  <p>4. To connect to the host that is to be a part of the new cluster, in the <strong>Host </strong>text box, type the name of the host, and then click <strong>Connect</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6232.image_3C5EC8A1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6232.image_5F00_3C5EC8A1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8345.image_thumb_3851EA1E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8345.image_5F00_thumb_5F00_3851EA1E.png" width="554" height="380" /></a></p>  <p>5. Select the interface that you want to use with the cluster, and then click <strong>Next</strong>. (The interface hosts the virtual IP address and receives the client traffic to load balance.)</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3581.image_7B9A618D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3581.image_5F00_7B9A618D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4454.image_thumb_173C5CD3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4454.image_5F00_thumb_5F00_173C5CD3.png" width="554" height="380" /></a></p>  <p>6. In <strong>Host Parameters</strong>, select a value in <strong>Priority (Unique host identifier), </strong>and provide a<strong> Initial host state. </strong></p>  <p>The <strong>Priority (Unique host ID)</strong> parameter specifies a unique ID for each host. The host with the lowest numerical priority among the current members of the cluster handles all of the cluster's network traffic that is not covered by a port rule. You can override these priorities or provide load balancing for specific ranges of ports by specifying rules in the <strong>Port rules</strong> tab.     <br />If a new host joins the cluster and its priority conflicts with another host in the cluster, the host is not accepted as part of the cluster. The rest of the cluster will continue to handle the traffic. A message describing the issue is written to the Windows event log. </p>  <p>The <strong>IP address</strong> parameter specifies this host's unique IP address, which is used for network traffic that is not associated with the cluster .This IP address is used to individually address each host in the cluster, and it should be unique for each host. The dedicated IP address should always be entered first in TCP/IP properties.</p>  <p>The <strong>Initial host state</strong> parameter specifies whether NLB will start and whether the host will immediately join the cluster when the operating system is started. For example, you might want to start other services manually and in a specific order before starting NLB. Hosts can be commanded to join and leave the cluster dynamically by using the <strong>Start</strong> and <strong>Stop</strong> commands in NLB command-line control. </p>  <p>If the <strong>Retain suspended state after computer starts</strong> check box is selected, when the host is shut down while in a suspended state, the host will remain suspended when Windows is started.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2350.image_57DC1891.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2350.image_5F00_57DC1891.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5367.image_thumb_3AD369C9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5367.image_5F00_thumb_5F00_3AD369C9.png" width="554" height="379" /></a></p>  <p>7. In <strong>Cluster IP Addresses</strong>, click <strong>Add</strong> and type the cluster IP address that is shared by every host in the cluster. NLB adds this IP address to the TCP/IP stack on the selected interface of all hosts that are chosen to be part of the cluster. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4743.image_09456B83.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4743.image_5F00_09456B83.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3527.image_thumb_5E6A76BF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3527.image_5F00_thumb_5F00_5E6A76BF.png" width="554" height="382" /></a></p>  <p>8. In <strong>Cluster Parameters</strong>, select values in <strong>IP Address and Subnet mask.</strong> Type the full Internet name that users will use to access this NLB cluster. </p>  <p>The <strong>Cluster operation mode</strong> parameters specify whether a multicast MAC address should be used for cluster operations.</p>  <p>If <strong>multicast</strong> is enabled, NLB converts the cluster MAC address that belongs to the cluster adapter into a multicast address. It also ensures that the cluster's primary IP address resolves to this multicast address as part of the ARP protocol. The adapter can now use its original, built-in MAC address that was disabled in unicast mode.     <br />In multicast mode, you can also enable <strong>Internet Group Management Protocol (IGMP</strong>) support, which limits switch flooding by limiting traffic to Network Load Balancing ports only. That is, enabling IGMP support ensures that traffic intended for an NLB cluster passes through only those ports that are serving the cluster hosts and not all switch ports.     <br />If you select <strong>unicast </strong>support, NLB automatically instructs the driver that belongs to the cluster adapter to override the adapter's unique, built-in network address and to change its MAC address to the cluster's MAC address. This is the address used on all cluster hosts. You do not need to manually configure the network adapter to recognize this address. (Note that some network adapters do not support changing their MAC addresses. If you experience this issue, you must install a network adapter that does.)</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1423.image_45D848BE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1423.image_5F00_45D848BE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0876.image_thumb_13DE1783.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0876.image_5F00_thumb_5F00_13DE1783.png" width="554" height="381" /></a></p>  <p>9. On the <b>Port Rules</b> page, click <b>Edit</b> to modify the default port rules if you need advanced rules. Otherwise we recommend that you use the following port-rule settings </p>  <ul>   <li><strong>Port range</strong>. Leave the default range, which is from 0 to 65535.</li>    <li><strong>Protocols</strong>. Both</li>    <li><strong>Affinity</strong>. Single</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3377.image_24C2BB73.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3377.image_5F00_24C2BB73.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3833.image_thumb_72C88A37.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3833.image_5F00_thumb_5F00_72C88A37.png" width="554" height="380" /></a></p>  <p>10. Click Finish to create the cluster</p>  <p>11. To add more hosts to the cluster, right-click the new cluster, and then click <b>Add Host to Cluster</b>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4452.image_73322C7B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4452.image_5F00_73322C7B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1513.image_thumb_283C2AFB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1513.image_5F00_thumb_5F00_283C2AFB.png" width="554" height="378" /></a></p>  <p>12. Type the name of the host, and then click <strong>Connect</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7317.image_3D974FB2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7317.image_5F00_3D974FB2.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1586.image_thumb_1C182023.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1586.image_5F00_thumb_5F00_1C182023.png" width="554" height="378" /></a></p>  <p>13. Select the interface that you want to use with the cluster, and then click <strong>Next</strong>. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4666.image_6E946FAE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4666.image_5F00_6E946FAE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5516.image_thumb_4D15401F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5516.image_5F00_thumb_5F00_4D15401F.png" width="554" height="380" /></a></p>  <p>14. Specify the <strong>priority, Initial host state</strong> and click on Next</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8688.image_1B8741D9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8688.image_5F00_1B8741D9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8463.image_thumb_0288E0E3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8463.image_5F00_thumb_5F00_0288E0E3.png" width="554" height="382" /></a></p>  <p>15. On the <b>Port Rules</b> page, click <b>Edit</b> to modify the default port rules if you need advanced rules. Otherwise we recommend that you use the following port-rule settings </p>  <ul>   <li><strong>Port range</strong>. Leave the default range, which is from 0 to 65535.</li>    <li><strong>Protocols</strong>. Both</li>    <li><strong>Affinity</strong>. Single</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6378.image_69F6B2E1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6378.image_5F00_69F6B2E1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5153.image_thumb_4CEE0419.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5153.image_5F00_thumb_5F00_4CEE0419.png" width="554" height="380" /></a></p>  <p>16. Click <strong>Finish</strong> </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3058.image_624928D0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3058.image_5F00_624928D0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6237.image_thumb_304EF795.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6237.image_5F00_thumb_5F00_304EF795.png" width="554" height="381" /></a></p>  <p>Now your NLB cluster is ready. </p>  <p>Setup IIS on both the machines by adding the WebServer role in Server Manager. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3487.image_45AA1C4C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3487.image_5F00_45AA1C4C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2262.image_thumb_3FCCE802.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2262.image_5F00_thumb_5F00_3FCCE802.png" width="554" height="391" /></a></p>  <h2>Step 2: Configure Active Directory</h2>  <p>Configure Active Directory by creating an account to run the <strong>CRMAppPool</strong> service and use a Service Principal Name (SPN). Active Directory uses the SPN for mutual authentication of a service instance, which enables the service instance to correctly authenticate when a user attempts to access resources that are located on other domain-member computers. </p>  <p>Create SPN’s</p>  <p>1. Open Active Directory Users and Computers.</p>  <p>2. Create a user account to run the CRMAppPool application pool in IIS. To do this, we recommend that you use a name that describes what the account will be used for, such as <em>CRMService</em>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5707.image_40368A46.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5707.image_5F00_40368A46.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0363.image_thumb_0C6C0344.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0363.image_5F00_thumb_5F00_0C6C0344.png" width="554" height="378" /></a></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3443.image_73D9D542.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3443.image_5F00_73D9D542.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1348.image_thumb_525AA5B3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1348.image_5F00_thumb_5F00_525AA5B3.png" width="480" height="404" /></a></p>  <p>3. Provide the password and then finish the wizard. </p>  <p>4. Close Active Directory Users and Computers.</p>  <p>5. Click start, type <strong>adsi edit</strong>, and then press ENTER.</p>  <p>6. Expand the domain, expand the node that begins with <strong>DC=</strong>, and then expand <strong>CN=Users</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4527.image_0764A433.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4527.image_5F00_0764A433.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2742.image_thumb_07CE4677.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2742.image_5F00_thumb_5F00_07CE4677.png" width="554" height="383" /></a></p>  <p>7. Right-click the user account that you created in the previous step, such as <em>CRMService</em>, and then click <strong>Properties</strong>.</p>  <p>8. In the <strong>Attribute</strong> list, scroll down, select <strong>servicePrincipalName</strong>, and then click <strong>Edit</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1565.image_36916E68.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1565.image_5F00_36916E68.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4111.image_thumb_79D75526.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4111.image_5F00_thumb_5F00_79D75526.png" width="554" height="379" /></a></p>  <p>9. In the <strong>Value to add</strong> box, type HTTP/<em>CRMNLBName</em>. <em>FQDN</em> and then click <strong>Add</strong>. Where, <em>CRMNLBName</em>, is the NLB cluster name and <em>FQDN</em> is the fully qualified domain name</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0777.image_5F74D15E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0777.image_5F00_5F74D15E.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6661.image_thumb_5FDE73A2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6661.image_5F00_thumb_5F00_5FDE73A2.png" width="554" height="396" /></a></p>  <p>10. Click <strong>OK</strong>&#160; and exit ADSI Edit</p>  <p><strong><img title="Important" alt="Important" src="https://i.technet.microsoft.com/areas/global/content/clear.gif" />Important</strong> </p>  <p>If IIS is configured to use kernel mode authentication, you must configure IIS to use the Web application pool’s identity for internal virtual directories used by Microsoft Dynamics CRM. You can do so by modifying the windowsAuthentication element for the default Web site on the Web site where Microsoft Dynamics CRM is installed. </p>  <p>To configure useAppPoolCredentials using the ApplicationHost.config file open the ApplicationHost.config file in a text editor. By default, this file is located at %windir%\system32\inetsrv\config\. </p>  <p>For all folders under the Default Web Site location path, set the value of the WindowsAuthentication element and the useAppPoolCredentials attribute to true.</p>  <p>For example: </p>  <pre>&lt;system.webServer&gt;
   &lt;security&gt;
      &lt;authentication&gt;
         &lt;windowsAuthentication enabled=&quot;true&quot; useAppPoolCredentials=&quot;true&quot; /&gt;
      &lt;/authentication&gt;
   &lt;/security&gt;
&lt;/system.webServer&gt;</pre>

<p>You can also do this within the IIS Manager by going to <strong>IIS Manager-&gt; Configuration Editor</strong> and setting the <strong>useAppPoolCredentials</strong> attribute to <strong>true</strong></p>

<p><strong></strong></p>

<pre><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6866.image_474C45A1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6866.image_5F00_474C45A1.png"><img width="554" height="393" title="image" style="display: inline; background-image: none;" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5873.image_thumb_5AD71491.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5873.image_5F00_thumb_5F00_5AD71491.png" border="0" /></a></pre>

<h2>Step 3: Install Microsoft Dynamics CRM servers</h2>

<h6>Install the first instance Microsoft Dynamics CRM on CRM1:</h6>

<p>1. Run Microsoft Dynamics CRM Setup on server <em>CRM1</em>. For step-by-step guidance see the blog below&#160;&#160; </p>

<p><a title="https://blogs.msdn.com/b/niran_belliappa/archive/2013/11/05/step-by-step-installing-dynamics-crm-2013-on-windows-server-2012.aspx" href="https://blogs.msdn.com/b/niran_belliappa/archive/2013/11/05/step-by-step-installing-dynamics-crm-2013-on-windows-server-2012.aspx">https://blogs.msdn.com/b/niran_belliappa/archive/2013/11/05/step-by-step-installing-dynamics-crm-2013-on-windows-server-2012.aspx</a>&#160;</p>

<p>2. On the <strong>Specify Deployment Options</strong> page, select the instance of SQL Server that will be used for the Microsoft Dynamics CRM databases. Then, select the <strong>Create a new deployment</strong> option. Click <strong>Next</strong> and continue Setup.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2677.image_5B40B6D5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2677.image_5F00_5B40B6D5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0572.image_thumb_0BD4348E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0572.image_5F00_thumb_5F00_0BD4348E.png" width="462" height="404" /></a></p>

<p>3. On the <strong>Specify Security Account</strong> page, select the domain user account (for example, <em>CRMService</em>) created previously.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3073.image_6ECB85C5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3073.image_5F00_6ECB85C5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8228.image_thumb_23D58445.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8228.image_5F00_thumb_5F00_23D58445.png" width="461" height="404" /></a></p>

<p>4. Continue to run Setup until the installation is completed. </p>

<h6>Install the second instance Microsoft Dynamics CRM on CRM2:</h6>

<p>1. Run Microsoft Dynamics CRM Setup on server <em>CRM2</em>.</p>

<p>2. On the <strong>Specify Deployment Options</strong> page, enter or select the name of the computer that is running SQL Server where the Microsoft Dynamics CRM databases are stored (from the installation of <em>CRM1</em>), and then click <strong>Connect to, and if necessary, upgrade an existing deployment</strong>. Click <strong>Next</strong>.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8737.image_0B435644.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8737.image_5F00_0B435644.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2248.image_thumb_0DE98144.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2248.image_5F00_thumb_5F00_0DE98144.png" width="461" height="404" /></a></p>

<p>3. On the <strong>Specify Security Account</strong> page, select the domain user account (for example, <em>CRMService</em>) created previously.</p>

<p>4. Continue to run Setup until the installation is completed.</p>

<h2>Step 4: Configure NLB for the deployment</h2>

<p>After the Microsoft Dynamics CRM Server 2013 installations are complete, run Deployment Manager to configure NLB for the deployment.</p>

<h6>Verify or change the Web addresses</h6>

<ol>
  <li>
    <p>On the Microsoft Dynamics CRM server, start Deployment Manager.</p>
  </li>

  <li>
    <p>In the console tree, right-click <strong>Microsoft Dynamics CRM</strong>, and then click <strong>Properties</strong>.</p>
  </li>

  <li>
    <p>Click the <strong>Web Address</strong> tab and make sure that the virtual cluster name, such as crm.contoso.com:80 appears. <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8055.image_5BEF5008.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8055.image_5F00_5BEF5008.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6862.image_thumb_13A20A39.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6862.image_5F00_thumb_5F00_13A20A39.png" width="365" height="404" /></a></p>
  </li>
</ol>

<h6>Set NLB for the deployment</h6>

<ol>
  <li>
    <p>On the Microsoft Dynamics CRM server, start Deployment Manager.</p>
  </li>

  <li>
    <p>In the console tree, right-click <strong>Microsoft Dynamics CRM</strong>, and then click <strong>Properties</strong>.</p>
  </li>

  <li>
    <p>Click the <strong>Web Address</strong> tab and then click <strong>Advanced</strong>.</p>
  </li>

  <li>
    <p>In the <strong>NLB and SSL Header Information</strong> dialog box, specify if you are using network load-balancing (NLB) and the header for the Secure Sockets Layer (SSL) offloading system.</p>

    <p>To make Microsoft Dynamics CRM aware of the NLB cluster, you must select <strong>The deployment uses an NLB</strong> option. Selecting <strong>The deployment uses an NLB</strong> sets Microsoft Dynamics CRM to configure Windows Identity Foundation (WIF) to use the encryption certificate to encrypt, decrypt, and sign the Microsoft Dynamics CRM session authentication cookies. The encrypted cookies can then be processed by any server in the NLB cluster.<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3755.image_28FD2EF0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3755.image_5F00_28FD2EF0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3531.image_thumb_16B1D77D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3531.image_5F00_thumb_5F00_16B1D77D.png" width="367" height="404" /></a></p>
  </li>

  <li>
    <p>Click <strong>OK</strong> and then close Deployment Manager.</p>
  </li>
</ol>

<h2>Step 5: Test it out</h2>

<p>Browse <a href="https://crm.contoso.com">https://crm.contoso.com</a> and you should see the CRM Page appear. </p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2781.image_7E1FA97B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2781.image_5F00_7E1FA97B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6305.image_thumb_20BC35E4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6305.image_5F00_thumb_5F00_20BC35E4.png" width="554" height="390" /></a></p>

<h1></h1>

<p>I hope this article has been helpful. </p>]]></content:encoded>
    </item>
    <item>
      <title>Step by Step: Configuring CRM 2013 Internet facing deployment (IFD)</title>
      <link>https://docs.microsoft.com/archive/blogs/niran_belliappa/step-by-step-configuring-crm-2013-internet-facing-deployment-ifd</link>
      <pubDate>Thu, 16 Jan 2014 02:59:36 GMT</pubDate>
      <dc:creator><![CDATA[Niran Belliappa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/niran_belliappa/2014/01/16/step-by-step-configuring-crm-2013-internet-facing-deployment-ifd/</guid>
      <description><![CDATA[This blog covers all the steps you have to follow to configure Internet facing deployment (IFD) for...]]></description>
      <content:encoded><![CDATA[<p>This blog covers all the steps you have to follow to configure Internet facing deployment (IFD) for a CRM 2013 Onpremise deployment&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>  <p>Before we proceed here are a few details of the environment. </p>  <p>CRM Server 2013 Installed on Windows Server 2012</p>  <p>ADFS 2.1 on a separate box on Windows Server 2012</p>  <p><strong>Important</strong>: </p>  <p>With AD FS 2.0, you had to download and install the AD FS 2.0 software to deploy your AD FS server infrastructure. </p>  <p>ADFS 2.1 was released to Windows Server 2012 as part of the operating system and therefore can be installed as a Role from Server Manager.</p>  <h3>Prerequisites</h3>  <ol>   <li>Install and configure Dynamics CRM 2013</li>    <li>Install and configure IIS on the ADFS Server</li>    <li>Purchase the appropriate certificates for the IFD configuration</li> You will need to choose the type of certificate that will work best in your environment. Most people have chosen to use a wildcard for their external domain so in my example it would be *.fabrikam.com so I can use it for all the URLs. If you were to get a SAN certificate you would need to know all of your URLs now and future (if you were going to add more orgs)     <li>If ADFS will be on the same server as CRM, ADFS will need to be on the default website using the default port so CRM will need to use something else.</li> </ol>  <p>I will break down the entire process into 5 major sections.</p>  <h3><strong>Section 1: Binding Certificates</strong></h3>  <h3><strong>Section 2: Setup ADFS</strong></h3>  <h3>Section 3: DNS Configuration</h3>  <h3><strong>Section 4: Configuring CRM server for claims based authentication</strong></h3>  <h3><strong>Section 5: Configuring CRM server for IFD</strong></h3>  <h3></h3>  <p>Alright, let’s get this started.</p>  <h3>Section 1: Binding Certificates</h3>  <p>After you have obtained and installed a certificate, the certificate must be bound to the default Web site before you can use AD FS </p>  <h4>On the ADFS Server</h4>  <p><strong>Step1: Open IIS Manager</strong> and in the <strong>Connections pane</strong>, expand the <strong>Sites </strong>node in the tree, and then click the <strong>Default Web Site</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0336.image_434568D9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0336.image_5F00_434568D9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6574.image_thumb_349D4DA5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6574.image_5F00_thumb_5F00_349D4DA5.png" width="554" height="395" /></a></p>  <p><strong>Step2: </strong>In the <strong>Actions pane</strong>, click <strong>Bindings</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0675.image_318AEFB0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0675.image_5F00_318AEFB0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2100.image_thumb_57EF63AC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2100.image_5F00_thumb_5F00_57EF63AC.png" width="554" height="395" /></a></p>  <p><strong>Step3:</strong> In the Site Bindings dialog box, click <strong>Add</strong>.&#160; </p>  <p>Under <strong>Type</strong>, select <strong>https</strong>. </p>  <p>Under <strong>SSL certificate</strong>, select your SSL certificate and then click <strong>OK </strong>and then<strong> Close</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7026.image_02CA5870.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7026.image_5F00_02CA5870.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7888.image_thumb_6D6F33B8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7888.image_5F00_thumb_5F00_6D6F33B8.png" width="554" height="395" /></a></p>  <h4>On the CRM 2013 Server</h4>  <p>When enabling claims-based authentication, the Dynamics CRM Server 2013 Web site must be accessible via HTTPS. You must bind your SSL certificate to the Dynamics CRM Server 2013 Web site. </p>  <p><strong>Step4: Open IIS Manager</strong> and in the<strong> Connections pane, </strong>expand the <strong>Sites </strong>node in the tree, and then click the <strong>Microsoft Dynamics CRM Web site</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6523.image_7F4E5836.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6523.image_5F00_7F4E5836.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3426.image_thumb_44F57306.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3426.image_5F00_thumb_5F00_44F57306.png" width="554" height="394" /></a></p>  <p><strong>Step5: </strong>In the Actions pane, click <strong>Bindings</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1643.image_0B74F3C0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1643.image_5F00_0B74F3C0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6076.image_thumb_0B0B517C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6076.image_5F00_thumb_5F00_0B0B517C.png" width="554" height="397" /></a></p>  <p><strong>Step6:</strong> In the Site Bindings dialog box, click<strong> Add.</strong>&#160; </p>  <p>Under <strong>Type</strong>, select <strong>https</strong>. </p>  <p>Under <strong>SSL certificate</strong>, select your SSL certificate and then click <strong>OK </strong>and then<strong> Close</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2046.image_13227DD1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2046.image_5F00_13227DD1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8865.image_thumb_12B8DB8D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8865.image_5F00_thumb_5F00_12B8DB8D.png" width="554" height="394" /></a></p>  <p><strong>Step 7: The CRMAppPool account and the Microsoft Dynamics CRM encryption certificate</strong></p>  <p>The CRMAppPool account will need to have rights to the certificate being used for the CRM website. If the application pool is running as Network Service as in the example then you will need to give Network Service read rights to that certificate. </p>  <p>You can use IIS Manager to determine what account was used during setup for the CRMAppPool account. In the Connections pane, click <strong>Application Pools,</strong> and then check the<strong> Identity</strong> value for <strong>CRMAppPool.</strong></p>  <p>Launch the MMC console and go to <strong>File</strong> menu and select <strong>Add-Remove Snap In</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8308.image_6B812308.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8308.image_5F00_6B812308.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5125.image_thumb_66323C57.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5125.image_5F00_thumb_5F00_66323C57.png" width="554" height="378" /></a></p>  <p>Select <strong>Certificates</strong> from the available snap-ins and click <strong>Add</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7608.image_715E5752.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7608.image_5F00_715E5752.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4540.image_thumb_07B3FC98.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4540.image_5F00_thumb_5F00_07B3FC98.png" width="554" height="388" /></a></p>  <p>Select <strong>Computer Account</strong> and click <strong>Next</strong> in the Certificates Snap-In window. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8662.image_074A5A54.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8662.image_5F00_074A5A54.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2350.image_thumb_624C99DA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2350.image_5F00_thumb_5F00_624C99DA.png" width="544" height="404" /></a></p>  <p>Click <strong>Finish</strong> on the next window and then click <strong>Ok</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4341.image_78A23F1F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4341.image_5F00_78A23F1F.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0488.image_thumb_5A578829.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0488.image_5F00_thumb_5F00_5A578829.png" width="547" height="404" /></a></p>  <p>Expand <strong>Certificates</strong>-&gt;<strong>Personal</strong>-&gt;<strong>Certificates</strong> -&gt;Right click on <strong>Manage Private keys</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1425.image_610D225D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1425.image_5F00_610D225D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2045.image_thumb_6271452F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2045.image_5F00_thumb_5F00_6271452F.png" width="554" height="379" /></a></p>  <p><strong>Add</strong> the identity which is running the CRM application pool and give it <strong>read</strong> permissions and then <strong>Ok</strong></p>  <p>In my case its Network Service. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2061.image_2D6746B0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2061.image_5F00_2D6746B0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5657.image_thumb_43BCEBF5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5657.image_5F00_thumb_5F00_43BCEBF5.png" width="554" height="380" /></a></p>  <p>You are now done configuring the certificates. </p>  <h2></h2>  <h2></h2>  <h2>Section 2: Setup ADFS</h2>  <p><strong>Step1: Launch Server manager and click on Add roles and features</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4848.image_0389632C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4848.image_5F00_0389632C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4810.image_thumb_398DE239.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4810.image_5F00_thumb_5F00_398DE239.png" width="554" height="391" /></a></p>  <p><strong>Step2: </strong>Click <strong>Next </strong>on the first page in the wizard</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6404.image_0483E3BA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6404.image_5F00_0483E3BA.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2642.image_thumb_1AD988FF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2642.image_5F00_thumb_5F00_1AD988FF.png" width="554" height="394" /></a></p>  <p><strong>Step3: </strong>Select <strong>Role-based or feature based installation </strong>and click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3678.image_13BCDD38.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3678.image_5F00_13BCDD38.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3527.image_thumb_2A12827D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3527.image_5F00_thumb_5F00_2A12827D.png" width="554" height="392" /></a></p>  <p><strong>Step4: Select a server from the server pool and click Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0830.image_6017018A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0830.image_5F00_6017018A.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5582.image_thumb_394B7BFB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5582.image_5F00_thumb_5F00_394B7BFB.png" width="554" height="392" /></a></p>  <p><strong>Step5: Select Active Directory Federation Services</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6518.image_36391E06.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6518.image_5F00_36391E06.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5700.image_thumb_7A7C1603.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5700.image_5F00_thumb_5F00_7A7C1603.png" width="554" height="394" /></a></p>  <p><strong>Step6: Click on Add Features and then click Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1108.image_5E6DE7C9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1108.image_5F00_5E6DE7C9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1641.image_thumb_22B0DFC7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1641.image_5F00_thumb_5F00_22B0DFC7.png" width="554" height="393" /></a></p>  <p><strong>Step7: </strong>Continue to click on <strong>Next </strong>until you reach the Confirmation page and then click<strong> Install.</strong> </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2677.image_389A5217.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2677.image_5F00_389A5217.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6266.image_thumb_7CDD4A14.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6266.image_5F00_thumb_5F00_7CDD4A14.png" width="554" height="393" /></a></p>  <p>Now that we have installed ADFS, lets go ahead and configure it. </p>  <p><strong>Step8: Launch Administrative tools and then select ADFS management. </strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1817.image_6EA161D5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1817.image_5F00_6EA161D5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2437.image_thumb_1DF2D760.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2437.image_5F00_thumb_5F00_1DF2D760.png" width="554" height="395" /></a></p>  <p><strong>Step9: </strong>Click on <strong>ADFS Federation Server Configuration Wizard </strong>and on the welcome page select <strong>Create a new Federation Service</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3463.image_16D62B99.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3463.image_5F00_16D62B99.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2335.image_thumb_2D2BD0DE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2335.image_5F00_thumb_5F00_2D2BD0DE.png" width="554" height="404" /></a></p>  <p><strong>Step10: Select Stand Alone or Farm Deployment.</strong> </p>  <p>Depending upon your requirement you can choose the appropriate option. The wizard explains each of the options. </p>  <p>I will choose Stand-alone federation server. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0647.image_7821D25E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0647.image_5F00_7821D25E.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2146.image_thumb_7985F530.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2146.image_5F00_thumb_5F00_7985F530.png" width="555" height="404" /></a></p>  <p><strong>Step11: Specify the Federation Service Name</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0458.image_2709A5A5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0458.image_5F00_2709A5A5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8311.image_thumb_3D5F4AEA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8311.image_5F00_thumb_5F00_3D5F4AEA.png" width="554" height="404" /></a></p>  <p><strong>Step12: </strong>Shows you the summary of what is about to be installed. Click <strong>Next</strong> to continue</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6523.image_2F2362AB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6523.image_5F00_2F2362AB.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7142.image_thumb_457907F0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7142.image_5F00_thumb_5F00_457907F0.png" width="558" height="404" /></a></p>  <p><strong>Step13: </strong>Wait for the configuration process to complete and click the <strong>Close </strong>button.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3858.image_296AD9B6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3858.image_5F00_296AD9B6.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3821.image_thumb_6DADD1B3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3821.image_5F00_thumb_5F00_6DADD1B3.png" width="557" height="404" /></a></p>  <h3>Section3: DNS Configuration</h3>  <p>You should configure your domain records in DNS so the various Dynamics CRM Server endpoints resolve correctly.</p>  <p><strong>Step1: Open DNS Manager by clicking Start, pointing to Administrative Tools, and then clicking DNS.</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0647.image_6A9B73BE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0647.image_5F00_6A9B73BE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5270.image_thumb_2EDE6BBC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5270.image_5F00_thumb_5F00_2EDE6BBC.png" width="554" height="394" /></a></p>  <p><strong>Step2: Expand Forward lookup Zones and then select the &lt;Domain name&gt;.com and create the below CNAME records.</strong></p> <strong></strong><strong></strong>  <table cellspacing="0" cellpadding="2" width="552" border="1"><tbody>     <tr height="20">       <td valign="top" width="79">         <p align="center"><strong>Name</strong></p>       </td>        <td valign="top" width="196">         <blockquote style="margin-right: 0px;" dir="ltr">           <p align="left"><strong>IP Address</strong></p>         </blockquote>       </td>        <td valign="top" width="275">         <blockquote style="margin-right: 0px;" dir="ltr">           <p><strong>Description</strong></p>         </blockquote>       </td>     </tr>      <tr height="20">       <td valign="top" width="79">auth</td>        <td valign="top" width="196">         <p>Point it to the machine that as CRM 2013 installed</p>       </td>        <td valign="top" width="275">This record will be used by the AD FS server when retrieving the Microsoft Dynamics CRM IFD federationmetadata.xml file</td>     </tr>      <tr>       <td valign="top" width="79">Dev</td>        <td valign="top" width="196">         <p>Point it to the machine that contains the discovery web service</p>       </td>        <td valign="top" width="275">Microsoft Dynamics CRM Discovery Web Service domain</td>     </tr>      <tr>       <td valign="top" width="79">Internalcrm</td>        <td valign="top" width="196">         <p>Point it to the machine that as CRM 2013 installed</p>       </td>        <td valign="top" width="275">Internal URL used to access Microsoft Dynamics (for example, internalcrm.fabrikam.com).</td>     </tr>      <tr>       <td valign="top" width="79">         <p>&lt;CRM            <br />&#160; organization name&gt;</p>       </td>        <td valign="top" width="196">         <p>Point it to the machine that as CRM 2013 installed</p>       </td>        <td valign="top" width="275">         <p>External URL used to access Microsoft Dynamics - Web Application Server domain (for example, orgname.contoso.com).</p>       </td>     </tr>      <tr>       <td valign="top" width="79">ADFS&#160;&#160;&#160; </td>        <td valign="top" width="196">         <p>Point it to the machine that has ADFS installed</p>       </td>        <td valign="top" width="275">AD FS 2.1 server          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br /></td>     </tr>   </tbody></table>  <p>Here is a screen shot of all the DNS records created</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0523.image_5E2FE146.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0523.image_5F00_5E2FE146.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0550.image_thumb_150CC63E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0550.image_5F00_thumb_5F00_150CC63E.png" width="554" height="107" /></a></p>  <p>You must also set your firewall to allow inbound traffic on the ports used for Dynamics CRM Server 2013 and AD FS 2.1</p>  <h3><strong></strong></h3>  <h3><strong></strong></h3>  <h3><strong>Section 4: Configuring CRM server for claims based authentication</strong></h3>  <p>Once ADFS is setup and the certificate/s are bound to the websites, you will need to prepare CRM for Claims Authentication.</p>  <h4>On The CRM Server</h4>  <p><strong>Step1: </strong>Set Microsoft Dynamics CRM Server 2013 binding to HTTPS and configure the root domain Web addresses</p>  <p><strong>Start the Deployment Manager=&gt;Actions pane=&gt;Properties=&gt;Web Address tab=&gt;Binding Type select HTTPS.</strong></p>  <p>You can now enter your internal URL for CRM. This will be the URL that users can use if they want to access CRM within the network without being prompted for credentials. Click on 'Apply'</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2541.image_1670E910.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2541.image_5F00_1670E910.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4456.image_thumb_5400D78A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4456.image_5F00_thumb_5F00_5400D78A.png" width="365" height="404" /></a></p>  <p><strong>Step2:</strong> In the Deployment Manager console tree, right-click Microsoft Dynamics CRM, and then click <strong>Configure Claims-Based Authentication</strong>. Click <strong>Next</strong> on the Welcome page</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5670.image_4CE42BC3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5670.image_5F00_4CE42BC3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5428.image_thumb_5C86C785.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5428.image_5F00_thumb_5F00_5C86C785.png" width="554" height="404" /></a></p>  <p><strong>Step3: On the Specify the security token service page</strong>, enter the Federation metadata URL, such as <a href="https://adfs.fabrikam.com/federationmetadata/2007-06/federationmetadata.xml">https://adfs.fabrikam.com/federationmetadata/2007-06/federationmetadata.xml</a>. </p>  <p>This data is typically located on the Web site where the Active Directory Federation Services (AD FS) 2.1 is running. To verify the correct URL, open an Internet browser by using the URL to view the federation metadata. Verify that no certificate-related warnings appear. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2248.image_128B4693.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2248.image_5F00_128B4693.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3364.image_thumb_501B350D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3364.image_5F00_thumb_5F00_501B350D.png" width="562" height="404" /></a></p>  <p><strong>Step4: On Specify the encryption certificate page, specify the encryption certificate</strong> </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2148.image_01A93354.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2148.image_5F00_01A93354.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3603.image_thumb_1A3B6155.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3603.image_5F00_thumb_5F00_1A3B6155.png" width="565" height="404" /></a></p>  <p><strong>Step5: On the System Checks page, review the results, perform any steps required to fix problems, and then click Next.</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4604.image_6BE46C58.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4604.image_5F00_6BE46C58.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5224.image_thumb_7B87081A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5224.image_5F00_thumb_5F00_7B87081A.png" width="567" height="404" /></a></p>  <p><strong>Step6: On the Review your selections and then click Apply page, verify your selections, and then click Apply.</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7167.image_467D099B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7167.image_5F00_467D099B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0753.image_thumb_4E9435F0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0753.image_5F00_thumb_5F00_4E9435F0.png" width="563" height="404" /></a></p>  <p><strong>Step7: Click View log file and scroll to the bottom and copy the Federation metadata URL to avoid typos</strong></p>  <p>You will need to use the federation metadata URL that was created during Claims-Based Authentication configuration in CRM to setup the Relying Party Trust in ADFS 2.1 </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1780.image_7564DCE1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1780.image_5F00_7564DCE1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2112.image_thumb_0BBA8227.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2112.image_5F00_thumb_5F00_0BBA8227.png" width="562" height="381" /></a></p>  <h4>On The ADFS Server</h4>  <p>After enabling claims-based authentication, the next step is add and configure claims provider trusts and relying party trusts in AD FS 2.1</p>  <p><strong>Step8:</strong> Start AD FS 2.1 Management. In the Navigation Pane, expand <strong>Trust Relationships,</strong> and then click <strong>Claims Provider Trusts</strong>. Under Claims Provider Trusts, right-click <strong>Active Directory</strong>, and then click <strong>Edit Claims Rules</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1581.image_244CB028.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1581.image_5F00_244CB028.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5734.image_thumb_3AA2556D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5734.image_5F00_thumb_5F00_3AA2556D.png" width="554" height="398" /></a></p>  <p><strong>Step9:</strong> In the Rules Editor, click <strong>Add Rule,</strong> In the Claim rule template list, select the <strong>Send LDAP Attributes as Claims</strong> template, and then click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6761.image_1E942733.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6761.image_5F00_1E942733.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4087.image_thumb_62D71F30.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4087.image_5F00_thumb_5F00_62D71F30.png" width="554" height="404" /></a></p>  <p><strong>Step10: Create the following rule</strong></p>  <p><strong>Claim rule name</strong>: UPN Claim Rule (or something descriptive)</p>  <p><strong>Attribute store:</strong> Active Directory</p>  <p><strong>LDAP Attribute:</strong> User Principal Name</p>  <p><strong>Outgoing Claim Type</strong>: UPN</p>  <p>Click <strong>Finish</strong>, and then click <strong>OK</strong> to close the Rules Editor</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8637.image_4D7BFA79.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8637.image_5F00_4D7BFA79.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8270.image_thumb_11BEF277.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8270.image_5F00_thumb_5F00_11BEF277.png" width="554" height="404" /></a></p>  <p>After you enable claims-based authentication, you must configure Dynamics CRM Server 2013 as a relying party to consume claims from AD FS 2.1 for authenticating internal claims access.</p>  <p><strong>Step11:</strong> Start <strong>AD FS Management</strong>. On the Actions menu located in the right column, click <strong>Add Relying Party Trust</strong>. In the Add Relying Party Trust Wizard, click <strong>Start</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6406.image_40A4350C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6406.image_5F00_40A4350C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2158.image_thumb_0723B5C6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2158.image_5F00_thumb_5F00_0723B5C6.png" width="554" height="396" /></a></p>  <p><strong>Step12: </strong>On the Select Data Source page, click<strong> Import data about the relying party published online or on a local network</strong>, and then type the <strong>URL </strong>you copied earlier from the log file. So that will be <strong><a href="https://internalcrm.fabrikam.com/FederationMetadata/2007-06/FederationMetadata.xml">https://internalcrm.fabrikam.com/FederationMetadata/2007-06/FederationMetadata.xml</a>.</strong> Verify that no certificate-related warnings appear by opening it in the browser. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2185.image_1902DA44.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2185.image_5F00_1902DA44.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5684.image_thumb_1A66FD16.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5684.image_5F00_thumb_5F00_1A66FD16.png" width="560" height="404" /></a></p>  <p><strong>Step13: </strong>On the Specify Display Name page, type a display name, such as <strong>CRM Claims Relying Party,</strong> and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2313.image_47EAAD8A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2313.image_5F00_47EAAD8A.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8780.image_thumb_429BC6D9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8780.image_5F00_thumb_5F00_429BC6D9.png" width="562" height="404" /></a></p>  <p><strong>Step14:</strong> On the Choose Issuance Authorization Rules page, leave the <strong>Permit all users to access this relying party option selected</strong>, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6012.image_2DACD517.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6012.image_5F00_2DACD517.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5074.image_thumb_44027A5C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5074.image_5F00_thumb_5F00_44027A5C.png" width="565" height="404" /></a></p>  <p><strong>Step15:</strong> On the Ready to Add Trust page, click <strong>Next</strong>, and then click <strong>Close</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0647.image_3CE5CE95.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0647.image_5F00_3CE5CE95.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3618.image_thumb_7A098A1A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3618.image_5F00_thumb_5F00_7A098A1A.png" width="564" height="404" /></a></p>  <p><strong>Step16:</strong> If the Rules Editor appears, click <strong>Add Rule</strong>. Otherwise, in the Relying Party Trusts list, right-click the relying party object that you created, click Edit Claims Rules, and then click Add Rule.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5710.image_24E47EDE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5710.image_5F00_24E47EDE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6330.image_thumb_34871AA0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6330.image_5F00_thumb_5F00_34871AA0.png" width="562" height="404" /></a></p>  <p><strong>Step17: </strong>In the Claim rule template list, select the <strong>Pass Through or Filter an Incoming Claim</strong> template, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7774.image_6A8B99AD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7774.image_5F00_6A8B99AD.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5483.image_thumb_47CA61F0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5483.image_5F00_thumb_5F00_47CA61F0.png" width="564" height="404" /></a></p>  <p><strong>Step18:</strong> <strong>Create the following Rule #1</strong></p>  <p><strong>Claim rule name</strong>: Pass Through UPN (or something descriptive)</p>  <p><strong>Incoming claim type</strong>: UPN</p>  <p>Pass through all claim values</p>  <p>Click <strong>Finish</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2705.image_19736CF4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2705.image_5F00_19736CF4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3324.image_thumb_2FC91239.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3324.image_5F00_thumb_5F00_2FC91239.png" width="564" height="404" /></a></p>  <p><strong>Step19:</strong> In the Rules Editor, click <strong>Add Rule</strong>, in the Claim rule template list, select the <strong>Pass Through or Filter an Incoming Claim</strong> template, and then click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5808.image_7ABF13B9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5808.image_5F00_7ABF13B9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0488.image_thumb_4CD451B2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0488.image_5F00_thumb_5F00_4CD451B2.png" width="564" height="404" /></a></p>  <p><strong>Step20:</strong> <strong>Create the following Rule #2</strong></p>  <p><strong>Claim rule name:</strong> Pass Through Primary SID (or something descriptive)</p>  <p><strong>Incoming claim type:</strong> Primary SID</p>  <p>Pass through all claim values</p>  <p>Click <strong>Finish</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6215.image_02D8D0C0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6215.image_5F00_02D8D0C0.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1462.image_thumb_60179902.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1462.image_5F00_thumb_5F00_60179902.png" width="566" height="404" /></a></p>  <p><strong>Step21: </strong>In the Rules Editor, click Add Rule. In the Claim rule template list, select the <strong>Transform an Incoming Claim</strong> template, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1488.image_51DBB0C3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1488.image_5F00_51DBB0C3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3835.image_thumb_161EA8C1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3835.image_5F00_thumb_5F00_161EA8C1.png" width="563" height="404" /></a></p>  <p><strong>Step22: Create the following rule #3</strong></p>  <p><strong>Claim rule name:</strong> Transform Windows Account Name to Name (or something descriptive)</p>  <p><strong>Incoming claiming type</strong>: Windows account name</p>  <p><strong>Outgoing claim type</strong>: Name</p>  <p>Pass through all claim values</p>  <p>Click <strong>Finish</strong>, and when you have created all three rules, click <strong>OK</strong> to close the Rules Editor.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2388.image_15B5067D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2388.image_5F00_15B5067D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5074.image_thumb_19C1E500.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5074.image_5F00_thumb_5F00_19C1E500.png" width="561" height="404" /></a></p>  <p>So now we have claims setup for CRM. </p>  <p>In both Servers (ADFS and CRM) go to IE -&gt; tools -&gt; IE options -&gt; security-&gt; local intranet -&gt; sites -&gt; add internal URL and ADFS URL (<a href="https://internalcrm.abc.com">https://internalcrm.fabrikam.com</a> and <a href="https://adfs.abc.com">https://adfs.fabrikam.com</a> ) This would have to done on any machines that are accessing the internal access points so that ADFS and CRM can pass those Kerberos tickets without being prompted for credentials. </p>  <p>Type the internal url in CRM server: <a href="https://internalcrm.fabrikam.com">https://internalcrm.fabrikam.com</a> see how it hits the ADFS and then launches the CRM page. </p>  <h3>Section 5: Configuring CRM server for IFD</h3>  <p>Now you are ready to configure Internet-Facing Deployment within the Microsoft Dynamics CRM 2013 Deployment Manager.</p>  <h4>On The CRM Server</h4>  <p><strong>Step1:</strong> Start the <strong>Deployment Manager</strong>. In the Deployment Manager console tree, right-click <strong>Microsoft Dynamics CRM</strong>, and then click<strong> Configure Internet-Facing Deployment</strong>. Click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0131.image_7DB3B6C5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0131.image_5F00_7DB3B6C5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8103.image_thumb_265222CD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8103.image_5F00_thumb_5F00_265222CD.png" width="563" height="404" /></a></p>  <p><strong>Step2:</strong> <strong>Enter the URLs for the Web Application Server Domain, Organization Web Service Domain and the Discovery Web Service Domain</strong> and click on the <strong>Next</strong> button. </p>  <p><strong>Important things to consider</strong></p>  <p>. Specify domains, not servers.</p>  <p>· If your deployment is on a single server or on servers that are in the same domain, the Web Application Server Domain and Organization Web Service Domain will be identical. </p>  <p>· The Discovery Web Service Domain must be a resolvable host name and not a root domain. For example: dev.fabrikam.com.</p>  <p>· The Discovery Web Service domain must not match an organization's fully qualified domain name (FQDN). For example, the Discovery Web Service Domain should not be: orgname.fabrikam.com.</p>  <p>· The domains must be valid for the SSL certificate's common name or names.</p>  <p>· The domains must be set to resolve correctly in DNS to your Microsoft Dynamics CRM servers holding the server roles.</p>  <p>· The domains can be in a different domain than the domain which the Microsoft Dynamics CRM servers reside.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1104.image_5C56A1DA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1104.image_5F00_5C56A1DA.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/5661.image_thumb_6BF93D9C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/5661.image_5F00_thumb_5F00_6BF93D9C.png" width="562" height="404" /></a></p>  <p><strong>Step3:</strong> In the Enter the external domain where your Internet-facing servers are located box, type the external domain information where your Internet-facing Microsoft Dynamics CRM Server 2013 servers are located, and then click Next.</p>  <p>The domain you specify must be a sub-domain of the Web Application Server Domain specified in the previous step. By default, &quot;auth.&quot; is pre-pended to the Web Application Server Domain.</p>  <p><strong>Important things to consider</strong></p>  <p>· The external domain is used by the AD FS server when retrieving the Microsoft Dynamics CRM IFD federationmetadata.xml file.</p>  <p>· The external domain must not contain an organization name. </p>  <p>· The external domain must not contain an underscore character (“_”). </p>  <p>· The external domain must be valid for the SSL certificate's common name or names.</p>  <p>· The external domain must be set to resolve correctly in DNS to your Microsoft Dynamics CRM server holding the Web Application Server role.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7652.image_36EF3F1D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7652.image_5F00_36EF3F1D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7624.image_thumb_747F2D97.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7624.image_5F00_thumb_5F00_747F2D97.png" width="564" height="404" /></a></p>  <p><strong>Step4</strong>: On the System Checks page, review the results, fix any problems, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8625.image_3F752F18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8625.image_5F00_3F752F18.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4863.image_thumb_4F17CADA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4863.image_5F00_thumb_5F00_4F17CADA.png" width="566" height="404" /></a></p>  <p><strong>Step5:</strong> On the Review your selections and then click Apply page, verify your selections, and then click <strong>Apply </strong>and <strong>Finish</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0677.image_051C49E8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0677.image_5F00_051C49E8.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0640.image_thumb_29B0681D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0640.image_5F00_thumb_5F00_29B0681D.png" width="568" height="404" /></a></p>  <p><strong>Step6</strong>: Run the following command at a command prompt: <strong>iisreset</strong></p>  <h4>On the ADFS Server</h4>  <p>After you have enabled IFD on the Microsoft Dynamics CRM Server 2013 you will need to create a relying party for the IFD endpoint on the AD FS server.</p>  <p><strong>Step6: Start AD FS Management.</strong> On the <strong>Actions</strong> menu located in the right column, click <strong>Add Relying Party Trust.</strong> In the Add Relying Party Trust Wizard, click <strong>Start</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7357.image_5FB4E72A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7357.image_5F00_5FB4E72A.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6330.image_thumb_5F4B44E6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6330.image_5F00_thumb_5F00_5F4B44E6.png" width="554" height="401" /></a></p>  <p><strong>Step7: </strong>On the Select Data Source page, click <strong>Import data about the relying party published online or on a local network</strong>, and then type the <strong>URL</strong> to locate the federationmetadata.xml file. This federation metadata is created during IFD Setup. </p>  <p>For example, <a href="https://auth.fabrikam.com/FederationMetadata/2007-06/FederationMetadata.xml">https://auth.fabrikam.com/FederationMetadata/2007-06/FederationMetadata.xml</a>. </p>  <p>Type this URL in your browser and verify that no certificate-related warnings appear.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3542.image_2A414667.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3542.image_5F00_2A414667.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4064.image_thumb_2BA56939.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4064.image_5F00_thumb_5F00_2BA56939.png" width="558" height="404" /></a></p>  <p><strong>Step8:</strong> On the Specify Display Name page, type a <strong>display name</strong>, such as <strong>CRM IFD Relying Party</strong>, and then click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8712.image_2B3BC6F5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8712.image_5F00_2B3BC6F5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8171.image_thumb_0CF10FFF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8171.image_5F00_thumb_5F00_0CF10FFF.png" width="559" height="404" /></a></p>  <p><strong>Step9:</strong> On the Choose Issuance Authorization Rules page, leave the <strong>Permit all users to access this relying party</strong> option selected, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8117.image_25EF70F5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8117.image_5F00_25EF70F5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0636.image_thumb_3C45163A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0636.image_5F00_thumb_5F00_3C45163A.png" width="560" height="404" /></a></p>  <p><strong>Step10:</strong> On the Ready to Add Trust page, click <strong>Next</strong>, and then click <strong>Close</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1663.image_72499547.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1663.image_5F00_72499547.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2021.image_thumb_6479DFFD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2021.image_5F00_thumb_5F00_6479DFFD.png" width="562" height="404" /></a></p>  <p><strong>Step11: </strong>If the Rules Editor appears, click <strong>Add Rule</strong>. Otherwise, in the Relying Party Trusts list, right-click the relying party object that you created, click Edit Claims Rules, and then click Add Rule</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7824.image_7659047B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7824.image_5F00_7659047B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/6114.image_thumb_1EF77083.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/6114.image_5F00_thumb_5F00_1EF77083.png" width="564" height="404" /></a></p>  <p><strong>Step12:</strong> In the Claim rule template list, select the <strong>Pass Through or Filter an Incoming Claim</strong> template, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4087.image_354D15C8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4087.image_5F00_354D15C8.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3858.image_thumb_59750108.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3858.image_5F00_thumb_5F00_59750108.png" width="567" height="404" /></a></p>  <p><strong>Step13: Create the following rule#1</strong></p>  <p><strong>Claim rule name:</strong> Pass Through UPN (or something descriptive)</p>  <p><strong>Incoming claim type</strong>: UPN</p>  <p><strong>Pass through all claim values</strong></p>  <p>Click <strong>Finish</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/4885.image_0F798016.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/4885.image_5F00_0F798016.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7571.image_thumb_53BC7813.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7571.image_5F00_thumb_5F00_53BC7813.png" width="566" height="404" /></a></p>  <p><strong>Step14: </strong>In the Rules Editor, click <strong>Add Rule,</strong> and in the Claim rule template list, select the <strong>Pass Through or Filter an Incoming Claim</strong> template, and then click <strong>Next</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8883.image_37AE49D9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8883.image_5F00_37AE49D9.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8865.image_thumb_42DA64D4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8865.image_5F00_thumb_5F00_42DA64D4.png" width="566" height="404" /></a></p>  <p><strong>Step15: </strong><strong>Create the following rule#2</strong></p>  <p><strong>Claim rule name:</strong> Pass Through Primary SID (or something descriptive)</p>  <p><strong>Incoming claim type</strong>: Primary SID</p>  <p><strong>Pass through all claim values</strong></p>  <p>Click <strong>Finish</strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1440.image_0DD06655.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1440.image_5F00_0DD06655.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1411.image_thumb_24260B9A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1411.image_5F00_thumb_5F00_24260B9A.png" width="567" height="404" /></a></p>  <p><strong>Step16: </strong>In the Rules Editor, click <strong>Add Rule</strong>. In the Claim rule template list, select the <strong>Transform an Incoming Claim</strong> template, and then click <strong>Next</strong>.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/1447.image_5A2A8AA7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/1447.image_5F00_5A2A8AA7.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/7563.image_thumb_1E6D82A5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/7563.image_5F00_thumb_5F00_1E6D82A5.png" width="564" height="404" /></a></p>  <p><strong>Step17: Create the following rule #3</strong></p>  <p><strong>Claim rule name:</strong> Transform Windows Account Name to Name (or something descriptive)</p>  <p><strong>Incoming claim type:</strong> Windows account name</p>  <p><strong>Outgoing claim type</strong>: Name</p>  <p><strong>Pass through all claim values</strong></p>  <p>Click <strong>Finish</strong>, and when you have created all three rules, click <strong>OK</strong> to close the Rules Editor.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8508.image_1750D6DE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8508.image_5F00_1750D6DE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8561.image_thumb_2DA67C23.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8561.image_5F00_thumb_5F00_2DA67C23.png" width="559" height="404" /></a></p>  <h5><a name="_Toc303757423">Test external claims-based authentication</a></h5>  <p>You should now be able to access Microsoft Dynamics CRM Server 2013 externally using claims authentication. Browse to your Microsoft Dynamics CRM Server 2013 Web site's external address (for example: <a href="https://orgname.fabrikam.com">https://orgname.fabrikam.com</a>). You should see a screen like the following</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/8004.image_63AAFB30.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/8004.image_5F00_63AAFB30.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/0005.image_thumb_734D96F2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/0005.image_5F00_thumb_5F00_734D96F2.png" width="558" height="387" /></a></p>  <p>Sign in and verify that you have external access to Microsoft Dynamics CRM Server 2013</p>  <h4>tada….</h4>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/2117.image_02F032B5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/2117.image_5F00_02F032B5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/61/94/metablogapi/3051.image_thumb_02869071.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-61-94-metablogapi/3051.image_5F00_thumb_5F00_02869071.png" width="574" height="303" /></a></p>  <p>You have successfully configured Internet facing deployment for Dynamics CRM 2013. </p>  <p>Hope this article was useful. </p>]]></content:encoded>
    </item>
  </channel>
</rss>