Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics CRM Form iframe loading Azure Webapp

Posted on by 75

Hi all,

I am using Dynamics CRM online and custom page ASPX pages rendered from Azure Web app. Azure Web app is having AD authentication enabled (same AD as CRM). 

Custom pages are loaded in CRM form using iFrame.

Issue: When CRM page is loaded the ifram loads the Azure pages. Which redirects to login page and does not load. If open the page outside of frame it works. Then CRM pages and iframe loads correctly

Please advice, how to disable the login redirect or enable single signon between CRM and Azure webapp (with out redirects)

Thanks in Advance

Vijay

*This post is locked for comments

  • Suggested answer
    Vijayaraghavan Profile Picture
    Vijayaraghavan 75 on at
    RE: Dynamics CRM Form iframe loading Azure Webapp

    Thanks I solved the problem. Actually Azure AD Authentication for webapp uses redirects. Instead of calling the pages from CRM iframe now open using window.open.

  • Vijayaraghavan Profile Picture
    Vijayaraghavan 75 on at
    RE: Dynamics CRM Form iframe loading Azure Webapp

    Thanks Pranav, I did both of that. I had AD enable for webapp it works standalone. When u host the page in CRM iframe  then redirect issue comes

  • Suggested answer
    PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Dynamics CRM Form iframe loading Azure Webapp

    Hi Vijay,

    Did you try this out... configure your App Service app to use Azure Active Directory login

    docs.microsoft.com/.../howto-create-service-principal-portal

    docs.microsoft.com/.../app-service-mobile-how-to-configure-active-directory-authentication

    Hope this helps,

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