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)

CRM 2013: IFD setup returns a 404 error after adfs login

(0) ShareShare
ReportReport
Posted on by 130

After a log in i receive a 404 File or directory not found. It lands on my auth.domain.com url

My setup works fine internally. I have noticed that i cannot retrieve the federationmetadata from the url. At this point i could use some guidance as where to look. Thanks

*This post is locked for comments

I have the same question (0)
  • Arpita Saini Profile Picture
    on at

    What is the URL mentioned in webadress tab in deployment manager. We call it as internal CRM URL. Please try and access https://<Internal URL>/federationmetadata/2007-06/federationmetada.xml.

    Next, check if you are able to access https://<adfs URL>/federationmetadata/2007-06/federationmetada.xml.

    If you are not able to access one of these first check if the DNS entries are properly created. Internal URL pointing to CRM server and adfs URL pointing to ADFS server.

    You mentioned internally the setup works fine..Does that mean inside network for Inyernal and external CRM URL works and issue occurs only when access from outside network through internet.?

    Please mention the event viewer error if any from adfs server and CRM server. For ADFS server you need to go to event viewer --> Application and service logs -> ADFS 2.0 --> admin ---> see if you find any error when you get 404 in UI.

  • britman Profile Picture
    590 on at

    Are you using the same site internally? I suggest going into the deployment manager and re-run the claims based authentication and when it finishs.  Click on view log and copy the federation metadata and make sure you are able to access it from another PC.

    I would also go into ADFS and refresh the relying parts trusts

  • Eric_duan Profile Picture
    10 on at

    Hi , I meet this same situation , after log in auth.domain.com ,I receive a 404,  Have u resolve this problem?

  • Arpita Saini Profile Picture
    on at

    Check DNS entries for auth, dev, external and internal URLs and adfs URL.

  • Eric_duan Profile Picture
    10 on at

    I'm so happy heard some advise, ths to Arpita Saini,.

    I solved this problem today, I login URL address was wrong , it should not be auth.mydomain.com, the right URL is myorgnization.mydomain.com .

    ths a lot.

  • Community Member Profile Picture
    on at

    I have a very similar problem. After my login in adfs my crm arrives on a crm.mydomain.com/default.aspx and i receive a 404 error.

    However, if a type in the browser address bar crm.mydomain.com/myorg/, i also receive a 404 error but if i type crm.mydomain.com again... everything work.

    I used Fiddler and reach the point where crm issues a 302 moved to.

    Researched a lot on google and other forums but without success. Any hints?

    Regards

    Eduardo

  • Community Member Profile Picture
    on at

    Bump.

    having same issues.

    URL opened internally and externally.

    After adfs authentication, url comes like this

    org.domainname.com/login.aspx

    and gives 404- file and Directory not found.

    now if we remove the last bit and try to access with url 

    https://org.domainname.com/

    we are on main page of Dynamic CRM 2015

    For internal 

    same issue - 

    https://internal.domainname.com/

    gives HTTP 404 not found, but when browsed to link again - home page works.

    Tried recreating ADFS

    URL exists for internal and External DNS resolution.

    the point it works after clicking the url again show DNS and ADFS auth is not an issues.

    ADFS and Dynamic 2015 is installed on single server

    SPN are correctly configured on Service accounts and the CRM server

    Any Pointers?

  • Community Member Profile Picture
    on at

    I am receiving the same 404 error when using the IFD URL as Mandy and Eduardo, has anyone resolved this issue? Likewise when I change the url to main domain name it works fine.

  • MilindP Profile Picture
    1,019 on at

    Check through fiddler what URL its heating when you are getting 404 error.

    Also check if there are any custom URL rewrite rules applied on CRM website URL for transferring external to internal when accessed internally.

  • Community Member Profile Picture
    on at

    Hey mate,

    after hours of research, I resolved this by disabling Form Authentication in IIS!  MSCRM - Sites - Authentication - Form authentication - Disabled.

    Hope this helps you guys.

    Cheers

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