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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Access IFD endpoint whilst connected to AD prompts for login

(0) ShareShare
ReportReport
Posted on by 145

I'm sure everyone familiar with Dynamics CRM IFD deployments know of (and despise) the fact that users on the intranet/LAN hitting the IFD address https://org.crm.contoso.com will get a login form.  No point in reiterating reasons for this, but lets agree that it's a sensible thing to do given mobility.

According to http://blogs.msdn.com/b/crminthefield/archive/2013/10/30/crm-2011-and-asp-net-single-sign-on-use-wauth-for-integrated-web-apps.aspx this is 'by design' due to the redirect query containing a wauth header instructing ADFS to present the login screen because some developer decided 6 years ago that an IFD endpoint must mean external access.  Pre ADFS 2012 R2 some folk even suggesting stripping the wauth header from IFD requests using IIS URL rewrite (https://www.dmcinfo.com/latest-thinking/blog/id/8743/single-sign-on-with-dynamics-crm-external-url), but as ADFS 3.0 no longer relies on IIS it's not an option in our environment without introducing more layers of indirection.

Consider for a minute that ADFS is perfectly capable of discerning between internal and external (ADFS / ADFS Proxy).  ADFS can also clearly discriminate between Relying Parties in order to apply various rules, multi factor authentication, etc.  So there should be no need to mess about with internal/external IP addresses or forcing internal/external behaviour based on using different endpoints - right?

I'd like to know why this 'login form' behaviour is forced with an IFD deployment or am I missing something obvious/major that makes this a requirement?  I find this a less than sensible approach and unless I'm missing something major would appreciate an explanation for this behaviour and why we're (still) unable to change it or did I miss that chapter entirely and just waste 30s of your day?

*This post is locked for comments

I have the same question (0)
  • Prati Profile Picture
    980 on at

    Hello C8 ,

    I got this Blog while researching on your issue , Hope it answers your Query .

    community.dynamics.com/.../publishing-crm-internet-facing-deployment-using-web-application-proxy-wap.aspx

    Thanks and regards

    Prashant T

  • C8. Profile Picture
    145 on at

    Hi Prashant

    Thank you for taking the time to respond, but I don't see the relevance of the blog post you reference - can you perhaps explain/expand on it?

    Thank you

  • Prati Profile Picture
    980 on at

    Hello C8 ,

    Thank you for your reply . I am not very well versed with the IFD Deployment , however while I was researching on this issue , I came across forums .. I am attaching them as reference ..

    1. https://social.microsoft.com/Forums/en-US/73379c1f-bf66-4f53-b325-810425465dc5/questions-about-deployment-options?forum=crm

    2.https://social.msdn.microsoft.com/Forums/en-US/b7544901-5ffd-4f10-8204-e37d67fb38cf/ifd?forum=crmdeployment

    3.http://msdn.microsoft.com/en-us/library/cc151054.aspx

    waiting for your reply .

    Thanks and regards,

    Prashant T

  • C8. Profile Picture
    145 on at

    Hi Prashant. Thank you again for taking the time to respond - much appreciated.  However, I think you might misunderstand my question. I know how IFD works and how it's deployed.

    There is no need to have a login screen when using ADFS and you're connecting from a domain connected machine on the local network to the IFD URL.  ADFS is smart enough to handle this on it's own so why is CRM instructing it to present a login form?

    Why we are forced to use forms based login when accessing the IFD URL when relying on ADFS (claims enabled CRM deployment) allows for smarter placement and 'best for your situation' login experience?

    Is there any way to change this behaviour (preferably in a supported way)?

  • Ragnar Hilmarsson Profile Picture
    3,427 on at

    Hi C8

    If i understand your question, You are using external url etc https://crmorg.domain.com

    and you always get login page?

    If you use the external url  you will always get login page.

    But if you use internal url internalurl.domain.com/crmorg  you dont have to login if user is on domain.

    So to answer your question: You will always be promted when using external url.

    Best regards

    Ragnar Hilmarsson

  • C8. Profile Picture
    145 on at

    Hi Ragnar.  Your understanding of my scenario is correct and your assessment that one is always prompted accessing the IFD URL is also correct.

    The question however is not if this should be case, but rather why this is the case and why we can't control this?  Also, if we can change it - will it remain in a supported configuration?

  • Ragnar Hilmarsson Profile Picture
    3,427 on at

    Hi

    This url requirements is by design, I am 95% sure you can not change this settings.

    If you have IFD CRM will always use orgname in the external url.

    But of course you can change this DNS settings and rename the organization to meet your needs

    Best regards

    Ragnar Hilmarsson

  • Prati Profile Picture
    980 on at

    Hello C8 ,

    Thank you Rangnar for the explanation . As this behavior of Login is by design , we cannot change it in a supported way , However you can put in a Product suggestion mentioning all these points . Our development team looks into these suggestions and depending on the votes it receives try to implement it in the UR or next release.

    This is the Product suggestion Link .

     http://connect.microsoft.com/?lc=1033

    Thanks and Regards

    Prashant  T

  • Verified answer
    C8. Profile Picture
    145 on at

    Hi Prashant

    Not the answer I was hoping for, but it more or less confirms my suspicion that it is 'by design' and will require a development team intervention to standardise authentication.  I have logged an enhancement request (connect.microsoft.com/.../remove-requirement-in-ifd-deployment-forcing-login-screen) and kindly request other people reading this to vote on it if you haven't already.

    Thank you.

  • Verified answer
    Prati Profile Picture
    980 on at

    Hello C8,

    Thank you for the post and be assured that the developers would look into this suggestion and try to improve the product as much as they can . I will vote on it as well .

    Thank you for using the Product suggestion link as it is the only way of connecting to customers, collecting their suggestions and feedback to improve the product .

    Thanks and regards

    Prashant T

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans