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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

IFrame component in Model driven App id giving "refused to connect error"

(0) ShareShare
ReportReport
Posted on by 2,116

Hello everyone,

I have a requirement to display SharePoint's word document in Model Driven App.

For achieving the same I have added IFrame component on my CRM form and have configured that as per the attached image "IframeConfiguration.png" then I have save and publish the form.

When I am trying to access it in my Model Driven App then I am getting an attached error "Result.png".

Can anyone help me to resolve this issue and guide where I am getting wrong.

I was following the below link to configure IFrame properties:

docs.microsoft.com/.../iframe-properties-legacy

Thanks in advance!IframeConfiguration.png8875.Result.png

I have the same question (0)
  • Suggested answer
    MikeC282 Profile Picture
    2,175 on at

    If you're after a Sharepoint integration where you can upload and view documents linked to entities in Dynamics why don't you use the Sharepoint integration instead of an iFrame. You can see in the URL you've given that this feature is a legacy feature meaning it will eventually become deprecated.

    docs.microsoft.com/.../set-up-sharepoint-integration

  • Suggested answer
    Inogic Profile Picture
    756 on at

    Hi,

    It looks like you are passing different SharePoint URL in the Iframe as the cross domain iframe requests are blocked in SharePoint Online as per the below blog:

    docs.microsoft.com/.../cross-domain-iframe-requests-are-blocked

    Make sure you add the correct SharePoint URL in IFRAME and uncheck the option as shown in the below screenshot:

    3771.30th-11-2020.png

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 156

#2
ManoVerse Profile Picture

ManoVerse 153 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans