Home

This content cannot be displayed in a frame

%3CLINGO-SUB%20id%3D%22lingo-sub-887272%22%20slang%3D%22en-US%22%3EThis%20content%20cannot%20be%20displayed%20in%20a%20frame%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887272%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20cannot%20use%20forms%20anywhere%20in%20Sharepoint%20because%20when%20web%20part%20is%20added%20the%20window%20displays%20a%20%22This%20content%20cannot%20be%20dispalyed%20in%20a%20frame%22%20Other%20browsers%20report%20%22login.microsoftonline.com%20refused%20to%20connect.%22.%20If%20Microsoft%20browsers%20doesn't%20support%20frames%2C%20why%20is%20the%20Forms%20dev%20team%20using%20them%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20had%20forms%20in%20use%20before%20this%20week%2C%20but%20now%20they%20are%20all%20blocked%20and%20don't%20render.%20Maybe%20a%20change%20made%20to%20Forms%20over%20the%20weekend%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-887272%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EForms%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Forms%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1043592%22%20slang%3D%22en-US%22%3ERe%3A%20This%20content%20cannot%20be%20displayed%20in%20a%20frame%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1043592%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20same%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3EMarketing%20dept%20created%20form%2C%20embedded%20it%20on%20the%20sharepoint%20page%20and%20sent%20out%20to%20whole%20organization.%3C%2FP%3E%3CP%3EAs%20a%20result%20-%20half%20of%20organization%20can%20see%20form%2C%20half%20-%20not.%3C%2FP%3E%3CP%3EForm%20is%20not%20anonymous%2C%20so%20it%20requires%20user%20to%20be%20logged%20in%20to%20record%20his%20name.%3C%2FP%3E%3CP%3EThis%20what%20we%20see%20in%20console%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ERefused%20to%20display%20%3CA%20href%3D%22https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fauthorize%3Fclient_id%3D00000002-0000-0ff1-ce00-000000000000%26amp%3Bredirect_uri%3Dhttps%253a%252f%252foutlook.office365.com%252fowa%252f%26amp%3Bresource%3D00000002-0000-0ff1-ce00-000000000000%26amp%3Bresponse_mode%3Dform_post%26amp%3Bresponse_type%3Dcode%2Bid_token%26amp%3Bscope%3Dopenid%26amp%3Bmsafed%3D0%26amp%3Bclient-request-id%3Dxxx%26amp%3Bprotectedtoken%3Dtrue%26amp%3Bnonce%3Dxxx%26amp%3Bstate%3Dxxx%E2%80%99%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fauthorize%3Fclient_id%3D00000002-0000-0ff1-ce00-000000000000%26amp%3Bredirect_uri%3Dhttps%253a%252f%252foutlook.office365.com%252fowa%252f%26amp%3Bresource%3D00000002-0000-0ff1-ce00-000000000000%26amp%3Bresponse_mode%3Dform_post%26amp%3Bresponse_type%3Dcode%2Bid_token%26amp%3Bscope%3Dopenid%26amp%3Bmsafed%3D0%26amp%3Bclient-request-id%3Dxxx%26amp%3Bprotectedtoken%3Dtrue%26amp%3Bnonce%3Dxxx%26amp%3Bstate%3Dxxx%E2%80%99%3C%2FA%3E%20in%20a%20frame%20because%20it%20set%20%E2%80%98X-Frame-Options%E2%80%99%20to%20%E2%80%98deny%E2%80%99.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20ideas%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1045763%22%20slang%3D%22en-US%22%3ERe%3A%20This%20content%20cannot%20be%20displayed%20in%20a%20frame%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1045763%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20you%20are%20experiencing%20with%20the%20web%20parts%20isn't%20normal%20behaviour%20(works%20fine%20for%20me%20via%20PC%20and%20web%20browser).%20If%20you%20happen%20to%20be%20accessing%20the%20forms%20web%20part%20from%20the%20SharePoint%20app%20then%20it%20will%20not%20work%20due%20to%20a%20bug%20with%20the%20way%20SharePoint%20mobile%20app%20handles%20authenticating%20user%20access%20to%20the%20Form.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342979%22%20target%3D%22_blank%22%3E%40latonita%3C%2FA%3E%26nbsp%3B%2C%20your%20error%20link%20appears%20to%20be%20happening%20when%20someone%20attempts%20to%20open%20the%20page%20from%20Outlook%20web.%20It%20should%20have%20allowed%20access%20so%20not%20sure%20why%20things%20are%20not%20working%20unless%20you%20are%20accessing%20it%20via%20the%20SharePoint%20mobile%20app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20want%20to%20log%20a%20support%20ticket%20with%20Microsoft%20about%20your%20respective%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20wishes%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1045838%22%20slang%3D%22en-US%22%3ERe%3A%20This%20content%20cannot%20be%20displayed%20in%20a%20frame%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1045838%22%20slang%3D%22en-US%22%3EThanks%20Damien%2C%3CBR%20%2F%3E%3CBR%20%2F%3Ethis%20is%20not%20a%20mobile%20app%20for%20sure.%20Just%20sharepoint%20online%20with%20forms%20webapp%20%2B%20form%20which%20saves%20name.%20Not%20clear%20why%20webapp%20not%20picking%20up%20authorization%20somehow%20and%20redirects%20to%20login.microsoftonline.com%20which%20doesnt%20allow%20embedding.%3CBR%20%2F%3EWhat%20we%20also%20noticed%2C%20that%20in%20Firefox%20it%20works%20okay%2C%20but%20Chrome%2FSafari%20give%20that%20error.%3CBR%20%2F%3EAnton%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1048158%22%20slang%3D%22en-US%22%3ERe%3A%20This%20content%20cannot%20be%20displayed%20in%20a%20frame%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1048158%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342979%22%20target%3D%22_blank%22%3E%40latonita%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20your%20marketing%20department%20has%20used%20the%20web%20part%20for%20Forms%20in%20the%20SharePoint%20page%20and%20you%20are%20accessing%20it%20from%20the%20web%20browser%2C%20it%20should%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20guess%20as%20a%20workaround%2C%20you%20may%20also%20want%20to%20add%20the%20Forms%20direct%20link%20under%20the%20web%20part%20so%20if%20it%20doesn't%20load%2C%20you%20can%20say%20something%20like%20%22If%20you%20cannot%20view%20the%20form%2C%20please%20click%20here%22%20and%20have%20it%20open%20into%20a%20new%20browser%20tab%20(similar%20to%20how%20HTML%20emails%20have%20that%20same%20warning%20in%20case%20you%20can't%20see%20the%20email%20properly%20in%20your%20mail%20client).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20marketing%20team%20has%20embedded%20the%20code%20into%20the%20page%20and%20didn't%20use%20the%20web%20part%2C%20then%20I%20suspect%20it%20will%20fail%20as%20it%20won't%20be%20able%20to%20authenticate%20the%20users%20access%20to%20the%20form%20and%20probably%20attempt%20to%20redirect%20to%20a%20login%20screen%20(sounds%20like%20your%20scenario%3F).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

We cannot use forms anywhere in Sharepoint because when web part is added the window displays a "This content cannot be dispalyed in a frame" Other browsers report "login.microsoftonline.com refused to connect.". If Microsoft browsers doesn't support frames, why is the Forms dev team using them?

 

We had forms in use before this week, but now they are all blocked and don't render. Maybe a change made to Forms over the weekend?

4 Replies

We have same issue. 

Marketing dept created form, embedded it on the sharepoint page and sent out to whole organization.

As a result - half of organization can see form, half - not.

Form is not anonymous, so it requires user to be logged in to record his name.

This what we see in console:

 

Refused to display <a href="https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000&redirect_uri=https%3a%2f%2foutlook.office365.com%2fowa%2f&resource=00000002-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid&msafed=0&client-request-id=xxx&protectedtoken=true&nonce=xxx&state=xxx’" target="_blank">https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000&redirect_uri=https%3a%2f%2foutlook.office365.com%2fowa%2f&resource=00000002-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid&msafed=0&client-request-id=xxx&protectedtoken=true&nonce=xxx&state=xxx’</a> in a frame because it set ‘X-Frame-Options’ to ‘deny’.

 

Any ideas?

Hi there

 

What you are experiencing with the web parts isn't normal behaviour (works fine for me via PC and web browser). If you happen to be accessing the forms web part from the SharePoint app then it will not work due to a bug with the way SharePoint mobile app handles authenticating user access to the Form.

 

@latonita , your error link appears to be happening when someone attempts to open the page from Outlook web. It should have allowed access so not sure why things are not working unless you are accessing it via the SharePoint mobile app.

 

You may want to log a support ticket with Microsoft about your respective issues.

 

Best wishes

Damien

 

Thanks Damien,

this is not a mobile app for sure. Just sharepoint online with forms webapp + form which saves name. Not clear why webapp not picking up authorization somehow and redirects to login.microsoftonline.com which doesnt allow embedding.
What we also noticed, that in Firefox it works okay, but Chrome/Safari give that error.
Anton

Hi @latonita 

 

If your marketing department has used the web part for Forms in the SharePoint page and you are accessing it from the web browser, it should work.

 

But I guess as a workaround, you may also want to add the Forms direct link under the web part so if it doesn't load, you can say something like "If you cannot view the form, please click here" and have it open into a new browser tab (similar to how HTML emails have that same warning in case you can't see the email properly in your mail client).

 

If the marketing team has embedded the code into the page and didn't use the web part, then I suspect it will fail as it won't be able to authenticate the users access to the form and probably attempt to redirect to a login screen (sounds like your scenario?).

 

Cheers

Damien

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies