Closed PanchamiM closed 1 year ago
Referred this issue raised "https://github.com/pnp/custom-learning-office-365/issues/617" and followed the steps. Tried adding the domains to the "HTML field security" in site settings. But no use. The links are already concatinated with "?context=context%2Fchromeless&linktarget=true". Please guide on this.
Hi @PanchamiM ,
Thanks for reaching out to us. Let me check on this issue and get back to you. Thanks!
Any update on this?
Hi @PanchamiM ,
Can you please confirm whether you are getting this error for all the assets that are pointing to learn.microsoft.com? If yes, can you please add that domain (learn.microsoft.com) in the Site Settings --> Html Field Security settings and verify the behavior once.
If that isn't working, try to edit the asset URL and add embed=true parameter to the URL and see if it is working. https://learn.microsoft.com/en-us/office365/customlearning/dayinthelife?context=context%2Fchromeless&linktarget=true&embed=true
Would also like to know whether these links are not working in your tenant since the Learning Pathways site is provisioned or it was working as expected earlier and suddenly throwing error.
@v-prigunasek Both the solutions are not working. And answering the question, we recently checked this path and it was not working,
Hi @PanchamiM ,
Can you please update the URL of the asset to the below and see if that works?
@v-prigunasek Tried the solution provided. But no luck.
Hi @PanchamiM ,
Actually, this is not an issue with the Learning Pathways solution as it is just pulling the content from learn.microsoft.com domain. It is a CORS/security feature related issue, that is blocking the content from being IFramed from different domain. I'm not able to replicate this issue in our tenant so I could not even try any fixes at my end.
Can you check with the network folks in your organization and see if there is any policy that is preventing any kind of IFramed content? You can also try to access this page in different machines/browsers/network to see if you are facing the same issue in other environments too.
I will also try to see if there is any other way to alter the URL to embed the content from learn.microsoft.com and I will let you know if I find something. Thanks!
Closed due to inactivity. If there is more on this issue please open a new issue and reference this one.
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
On navigating to some of the OOTB playlist the iframe is not loading. Manily these links are related to docs.microsoft.com.
Navigate to below path to reproduce the issue. "Modern Workplace > Day in your digital life with Office 365 > Start your digital day"
One of the link that is giving issue is : https://learn.microsoft.com/en-us/office365/customlearning/dayinthelife?context=context%2Fchromeless&linktarget=true
Expected Behaviour : The iframe should load the content of the link. Current Issue Behaviour: It is blank screen with the error as "login.microsoft.com refused to connect"
The issue is being experienced in all the tenants and also in all networks. Both personal and Company network. The issue is reproducible in both chrome and edge.
Learning Pathways version number : 4.3.1.0
Console Error : Refused to display 'https://learn.microsoft.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. Message: Origin https://docs.microsoft.com is not responding in a timely manner to "help_getClientHeight" post message. Default iFrame height set. - AssetView (resizeIFrame)