Change the Default Port for ADFS from 443 - Dynamics CRM

Editor's Note: As of November 1st, 2016, Dynamics CRM is now Dynamics 365 for Customer Engagement, part of the Dynamics 365 for Enterprise solution. There's been a lot of new features since CRM 2011! Learn more about them here.

CRM 2011 changed the Internet Facing Deployment setup significantly from CRM 4. Instead of a built in CRM tool to provide connectivity to the Internet, CRM 2011 configurations rely on ADFS 2.0 to authenticate the CRM user to the server. By default the ADFS site uses the standard SSL port 443 in IIS. This can be a problem if you are already using 443 for other purposes so ADFS has to be moved to another port.

This should be easy but is not done through the IIS port binding. Instead, use the fsconfig.exe utility to change the port before configuring the ADFS application and rules.  The following command sets up ADFS on port 444:

fsconfig.exe standalone /CertThumbprint <thumprint -- get this via powershell> /port 444 /FederationServiceName <sts server fqdn>/CleanConfig /AutoCertRolloverEnabled

Now continue with the configuration steps for CRM ADFS setup as outlined in the setup guides.

Dynamics CRMKen RileyComment