Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

ADFS redirects to External URL not Organization URL

Posted on by

Hello,

I'm trying to configure Microsoft Dynamics CRM 2016 (on-premises) IFD with ADFS but I'm having a strange behavior.

If the user is in the internal network, there is no problem, he access CRM with <organization>.<rootdomain>, then is redirect to ADFS and after authenticated, is redirected back to <organization>.<rootdomain>.

If the user is in an EXTERNAl network, the user type the CRM url <organization>.<rootdomain>, is redirected to ADFS, and after authenticated is redirected to the external URL defined in the CRM IFD (example: auth.<domain>). This opens the wrong CRM organization, but if the user type again the correct URL <organizarion>.<rootdomain>, he has access and everything works fine.

Anyone can help?

I'm missing something? Is IFD problem or ADFS problem?

Thanks

*This post is locked for comments

  • Suggested answer
    RE: ADFS redirects to External URL not Organization URL

    Hi,

    The cause of the error was Microsoft Forefront TMG. I don't know the details (I'm not responsible for this TMG), but it looks like it was replacing the urls <organization>.<domain> for auth.<domain>.

    The solution was to create a tunnel for this specific server in TMG.

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