web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,100

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,173 on at
    RE: IFrame component in Model driven App id giving "refused to connect error"

    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
    674 on at
    RE: IFrame component in Model driven App id giving "refused to connect error"

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 189 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 104

#3
Pallavi Phade Profile Picture

Pallavi Phade 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans