Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2016 with ADFS 2.0 Error 404 Internally

Posted on by Microsoft Employee

Hi All,

I am getting an Error 404 when accessing my CRM 2016 On-Premise internally. Below is my current setup.

CRM server with CRM installed on port 8080. ADFS Server separate with ADFS on the default website.

DNS configured for

crm.mydomain.com.my to route internally to my CRM app server

sts1.mydomain.com.my to route internally to my ADFS server

I have pinged the addresses internally and it returns the correct IPs of the servers.

Both the Federation metadata URLs return the correct result with no errors. I am able to configure everything according to the blog (http://www.interactivewebs.com/blog/index.php/crm/how-to-set-up-crm-2015-ifd-on-windows-2012-and-adfs-3-0/)

 

Added SPNs for 

setspn -a http/sts1.mydomain.com.my  domain\ADFS server 

setspn -a http/crm.mydomain.com.my  domain\crm server 

setspn -a http/crm  domain\crm server

When i browse to https://crm.mydomain.com.my, the address reroutes to the below address and stays there with the Error 404.

sts1.mydomain.com.my/.../ls;wtrealm=https%3a%2f%2fcrm.mydomain.com.my%2f&wctx=rm%3d1%26id%3db519a8bb-46aa-47e7-90a5-d1b10f393d6b%26ru%3d%252fdefault.aspx&wct=2016-10-26T07%3a12%3a02Z&wauth=urn%3afederation%3aauthentication%3awindows

I went though all the steps from a few blogs and even the microsoft guide and all the steps seem correctly setup.

What could i be missing?

Thanks,

Stephan

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans