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)

Dynamics CRM Form iframe loading Azure Webapp

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at

    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,

  • Vijayaraghavan Profile Picture
    75 on at

    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
    Vijayaraghavan Profile Picture
    75 on at

    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.

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