Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Problem with Dynamics 9.0 IFD behind a WAP

Posted on by 7

Hi All,

I am deploying a brand new Dynamics 365 (v9) deployment behind a web application proxy. I followed all the manuals but I have a strange issue.

CRM setup is finished and IFD works. If I make the servers directly available on their own external IP's it works.

Now I put a WAP in between for the AD FS url, discover URL, auth URL and the organisation URL. So everything goed through the WAP. I also did the tweak for the CRM cookies for the 3 CRM URLS:

Set-WebApplicationProxyApplication -ID <id of auth web app> -DisableTranslateUrlInResponseHeaders 


Now when I access CRM from the outside I get to the AD FS login screen, it loads instantly. Then I provide my credentials and CRM is loading for about 2 minutes.
After 2 minutes I only get a white screen with a blue bar (the start of the ribbon) and nothing loads after that.

I have 2 fresh Dynamics 365 installs with the same issue. Windows, SQL and Dynamics all up to date. All servers have more then enough RAM and CPU.

On the WAP I tested with pass through and AD FS preauthentication all with the same result.

I ran the google performance tool which shows me it fails to load the main screen. The strange thing is that this only occurs when accessing the site through the WAP.


pastedimage1603784264423v1.png

Any suggestions on this?

Kind regards,
Eddy
  • Suggested answer
    MLarsen Profile Picture
    MLarsen 473 on at
    Problem with Dynamics 9.0 IFD behind a WAP
    An update: the problem seems to be HTTP\2 feature on server 2019. I disabled this and everything worked as it should.
     
  • MLarsen Profile Picture
    MLarsen 473 on at
    Problem with Dynamics 9.0 IFD behind a WAP
    .. and now after a reboot of the new WAP-server the problem is back..
  • MLarsen Profile Picture
    MLarsen 473 on at
    Problem with Dynamics 9.0 IFD behind a WAP
    I have now tried to setup a new WAP server, same as you did, and it is now working again. Very strange. Not sure what's happening here.
  • MLarsen Profile Picture
    MLarsen 473 on at
    Problem with Dynamics 9.0 IFD behind a WAP
    Hello. Did you find any good solution to this other than reinstall the WAP? I am having the exact issue you're describing right now.
  • Suggested answer
    RE: Problem with Dynamics 9.0 IFD behind a WAP

    Hi Eddy,

    Hope you are doing good. 

    Request you to check on below articles for your reference :

    https://community.dynamics.com/crm/b/dynamicscrmsupportblog/posts/publishing-crm-internet-facing-deployment-using-web-application-proxy-wap

    If there is any proxy setup in your environment please refer the article https://support.microsoft.com/en-us/help/2964735/authentication-failures-and-event-422-when-ad-fs-sts-servers-and-ad-fs 

    Also please check the event logs of ADFS and WAP server to check on the appropriate error message for further troubleshooting. 

    Also make sure all the required ports are opened in the WAP server for CRM accessibility. 

  • Suggested answer
    Eddy85 Profile Picture
    Eddy85 7 on at
    RE: Problem with Dynamics 9.0 IFD behind a WAP

    Well I deployed a fresh server for WAP and now it is working.. Really strange but I am glad we can now use the new CRM :)

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans