Extending Sharepoint 2013 and integrating with CRM 2013 IFD

By | October 6, 2014

As we all know, for document management, we require SharePoint to be integrated with the CRM. Therefore, if the CRM is on IFD and if we want to integrate it with SharePoint (on-premise), then we need to extend it in order to make it accessible over the internet. Below are the steps that will help us to extend SharePoint and integrate it with the CRM.

Steps to Extend SharePoint:

  1. Firstly, we need to install SharePoint on the server.
  2. After the installation, we can move forward to extend SharePoint. For this, we need to open IIS manager and open “SharePoint Central Administration” site. This site allows us to extend SharePoint Site.IIS Manager Sharepoint Site
  3. Select the “SharePoint Central Administration” site and go to Application Management –> Manage web applications.SharePoint Central Administration
  4. We will see the 2 SharePoint site Records i.e. Central Administration and SharePoint site. Now to extend SharePoint, select the SharePoint Site (i.e. 2nd one) and click on the Extend button. This extend button at times is in disabled mode, so make sure that the browser is running as an Administrator.SharePoint Web Applications
  5. A pop-up will be prompted named as “Extend Web Application to Another IIS Web Site”. Here we need to provide the following inputs in order to extend it. After that, click on the OK button.
    1. Select “Create a new IIS web site
    2. Port – Provide any port, which is not used in the domain network and make a note of it
    3. Host Header – It is required to provide host header. For e.g. sharepoint.domainname.com
    4. Path – Keep the default as it is i.e. wwwroot
    5. Allow Anonymous: No
    6. Use Secure Socket Layer(SSL):  Yes
    7. Enable Windows Authentication : Checked
    8. Integrated Windows Authentication : NTLM
    9. Default Sign in Page : Checked
    10. URL: Keep the default as it is and make a note of it for further use
    11. Zone: Internet (this is required and make sure that it is selected as internet)Web Application IIS Website Web Application IIS WebsiteWeb Application IIS Website
  6. Now open IIS manager, we will see one more SharePoint site displayed on it.IIS Manager
  7. Then select the Site and Open “SSL Settings” and tick the “Require SSL” and click on Apply button.SSL SettingsSSL Settings
  8. Now to access this site, we need to select the certificate in the Site Bindings. So we need to import SSL domain certificate with *.pfx. To import certificate, follow the below steps:
    1. Select the Server in IIS
    2. Click on the Server Certificates
    3. Then in that click on the Import link
    4. A window will be prompted named as “Import Certificate”
    5. Select the certificate, provide the password and select “Select Certificate Store” as “Web Hosting” and click on OK button

    Server Certificates

    Import Certificates

  9. Now we need to go to the Site again created in step 6, and click on the Bindings. It will allow us to select the SSL certificate, which we had imported in the above step. Select the certificate and click on the OK button.Site Binding
  10. Temporarily, we can do the Host entry, to access SharePoint using extended URL on the SharePoint Server, hence if we create the extended the SharePoint with user https://sharepoint.mydomain.com:450, then we need to do a host entry for sharepoint.mydomain.com host with corresponding IP address into the Host file. Add below entry in the Hosts file located in the C:\Windows\System32\Drivers\etc.Hosts FIle
  11. Now all the settings are completed. Reset the IIS and browse the website using this URL generated in the step 5.14
  12. Now on the DNS server add the DNS Host entry in the DNS configuration and keep the Port no. open, which we had used in Step 5. This will extend the SharePoint and accessible through the internet. After successfully extending SharePoint, we need to integrate it with the CRM.For this, follow our blog “Integrate SharePoint with the CRM”. This will help you to integrate SharePoint and CRM.

Note: Sometimes after extending the SharePoint, when you access above extended SharePoint URL through the browser it asks for the username and password and even if you provide the correct credentials, it keeps on prompting as there is a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the custom host header that you use does not match the local computer name.

You can follow this article to resolve this issue http://support.microsoft.com/kb/896861/en-us

Hope this helps!