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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ADFS and friendly URL

(0) ShareShare
ReportReport
Posted on by 35

We recently set up CRM with ADFS for a customer. The ADFS service runs on the same server as CRM. Since the ADFS service prefers to run on the default web site with default port bindings, it is recommended to run CRM on different port bindings (not 80 and 443), so we chose 5555 for http and 444 for https. So far so good.
Following the installation instructions for ADFS, we now have one link for external access and one for internal access (say for this thread: https://mycompany.mycompany.com:444 and https://internal.mycompany.com:444)
Everything is working fine, but it is really annoying having to add the :444 at the end of the url. So I tried using the URL Rewrite function in IIS to rewrite requests without port number, but either I am not doing it right, or there are some mechanisms behind the scene (i.e. ADFS related) that prevents the rule from triggering. Either way, nothing is happening, it's like the rule does not exist.
We spent a lot of time getting it to work correctly, so I would rather not move the ADFS service to another server just to have the default bindings on the CRM site again.
Anybody has experience with this and hopefully a workaround..?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Gus Gonzalez Profile Picture
    27,113 on at

    Can you add DNS redirection for the CRM server?

    Something like https://crm.mycompany.com pointing to mycompany.mycompany.com

  • Suggested answer
    Brian Storie Profile Picture
    on at

    Hello Thorvald,

    If you have no other services relying on your AFS Server then one alternative would be to move the ADFS Website Bindings to 444 and 81.  You could then configure CRM to work on 443 and 80.  

    You can move the ADFS Website bindings by executing the following PowerShell Commands after you have installed and configured ADFS:

    Add-PSSnapin Microsoft.Adfs.PowerShell

    Set-ADFSProperties -HttpsPort 444

    Set-ADFSProperties -HttpPort 81

    If you already have had Claims/IFD configured, then you will need to reconfigure them to reflect the port changes made to ADFS and CRM.

    If you have other services relying on the ADFS server, there is no garuntee that they will function correclty after moving the ADFS website off the default ports.  

    Although this method will work, our best practice is to place ADFS on a different server when you want to use port 443 for CRM.

    I hope this helps answer your question.

    Best Regards,

    Brian Storie

    CRM Support Engineer

Under review

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

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans