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

Announcements

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,102

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
    743 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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 56 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 49

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans