Share via

Embedded MS Excel showing Sign In in Iframe but can be accessible on Browser directly

Dharini Vaghela 40 Reputation points
2024-03-20T12:18:03.5533333+00:00

Hello,

I have embedded an Iframe for the Angular application that displays the Excel shared from Embed option. The excel was loading successfully till yesterday but now it is asking to sign in. While click on the sign in option, new windows getting open and gets signed in successfully but is not loading the excel in the Iframe.

While copying the link directly in the browser, the sheet could be visible and accessible but causing the issue for Iframe. I checked the given permissions to the excel while sharing it but no luck loading it in the iframe.

User's image

While investigating the issue, I found in the network tab it is giving 403 error for below APIs -

contextinfo and Language

API-errors

It also shows - Refused to display 'https://domain.sharepoint.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Please let me know if this suffice to explain the problem.

Thank you

Microsoft 365 and Office | SharePoint | Development

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.