Share via

Excel Sharing via Embed

Anonymous
2022-04-11T07:29:50+00:00

Hello, so I created an iFrame to embed publicly. I was able to get the sharing permissions right to where it shows fine on my laptop & desktop. However, whenever I am on a mobile device, it asks for sharepoint login, such as attached.

The one on the left is testing done on Google Pixel while the right is a Samsung Galaxy (same issue on iPhone). It's weird because the link by itself works fine, but the embed does not.

What am I doing wrong? I frame code below:

<iframe width="700" height="900" frameborder="0" scrolling="no" src="https://***.sharepoint.com/:x:/s/ffs/ESUuWoI2gMBmM2xdfiN6uJYZVvbbNBLgg?e=EXvuoz&action=embedview&wdAllowInteractivity=False&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True&wdInConfigurator=True"></iframe>

[PII is removed by forum moderator]

Microsoft 365 and Office | SharePoint | For business | iOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2022-04-12T09:20:43+00:00

    Hello Haseeb Akhtar,

    We appreciate you spent time doing test and sharing the result with us. So the simple HTML page doesn't work on mobile phone neither.

    We deeply understand the issue has affected your daily work. Apologize for the inconvenience. We know how hard it is when things do not go as expected.

    On your mobile phone, you may also try to use a different browser (such as Chrome) to access the test HTML page and the third-party website to check the outcome. This way helps you narrow down whether the issue only happens in a specific browser on mobile phone.

    If same issue persists in different browsers, we do understand the frustration and feel very sorry about it. We also notice it looks like an urgent issue. Since we cannot reproduce the issue from our side, it may need to further check your tenant and check the issue from back end for further investigation.

    In this situation, we sincerely recommend you inform your Microsoft 365 admin of the issue and help you create a support ticket via Microsoft 365 Admin Center.

    The support team there has higher permission to check the issue further and the correct escalation channel for this case. This is also the most efficient way in handling this kind of issue for you. For reference: How do I find my Microsoft 365 admin    Get support | Microsoft Docs

    Thanks for your patience and understanding so far. Hope you are keeping safe and well!

    Best Regards,

    Tina

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-04-12T08:44:16+00:00

    Hello, simple HTML page test also completed. Please see attached. Also seems like I am not the only one having this issue.

    Please advise, this is very time sensitive. Thank you.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-04-11T10:01:11+00:00

    Hello Haseeb Akhtar,

    We appreciate you post back and sharing the detailed information with us.

    Now we understand you embed the Excel file on a third-party website with sharing permission "Anyone with the link can view".

    We know this issue has affected your work. Sorry for the inconvenience caused.

    We did a simple test from our side to embed an Excel workbook to a simple HTML page, when we accessed the page on mobile phone, it can display fine without requiring sign in.

    HTML page example:

    <!DOCTYPE html>

    <html lang="en">

    <head>

        <title>test</title>

    </head>

    <body>

        <p>a test page<p>

    <iframe width="700" height="900" frameborder="0" scrolling="no" src="https://***.sharepoint.com/:x:/s/test0317teamsite/ETqs26nLJlpHtWn3-b0BYtYBeBH6NU2zYbikAezYMWmPSw?e=7u5ozN&action=embedview&wdAllowInteractivity=False&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True&wdInConfigurator=True"></iframe></body>

    </html>

    For further troubleshooting, we'd like to confirm that if you embed the same iframe code on a SharePoint page and a simple HTML page, does same issue still happen when you access the page on mobile phone?

    If it works fine and this issue only appears when you use the third-party website, it might not a SharePoint permission issue, it may need to further check the environment on the third-party website. In this situation, we sincerely recommend you try to contact the third-party website's provider to investigate the issue further.

    However, on your mobile phone if SharePoint page and html page don't work and still require sign in to show the Excel workbook, feel free to let us know, we will continue trying best to assist you.

    Thanks for your patience and effort. We hope you are keeping safe and well!

    Best Regards,

    Tina

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-04-11T09:12:22+00:00

    Hello Tina, I am not embedding the Excel page on a Sharepoint page. I am embedding it from Sharepoint as discussed in the single article mentioning embedding Excel sheets.

    I am embedding it to a 3rd party website that is a customer facing portal. I use the anyone can edit, however, I believe it’s the view link as I don’t need them to edit. I embed the code on a 3rd party site which works fine on Desktop but not on Mobile.

    Not sure about OS, I am using a 3rd party testing website. I just know it didn’t work on my iPhone and wanted to see if it was me or another issue.

    Thanks!

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-04-11T09:01:35+00:00

    Hello Haseeb Akhtar,

    Thanks for querying in this forum.

    According to your description, you created a iframe code to embed a sharing link of an Excel workbook. It looks like you embed the code on a SharePoint page. You can view the page on laptop & desktop fine, but when you checked it from a mobile devices, it asked for SharePoint login.

    May I know if my understanding of the scenario is consistent with yours?

    If yes, we also did a test from our side.

    Firstly we created an external sharing link for an excel workbook from SharePoint by using the sharing link with permission "Anyone with the link can edit", then we tried the iframe code you provide, replaced the sharing link with ours.

    Then embedded the iframe code to Embed Web Part on a SharePoint page. It showed fine on laptop. Then we used an Android phone, firstly signed in the SharePoint site then navigated to the SharePoint page, it can show the Excel workbook fine.

    As it seems like we cannot reproduce the situation, we'd like to help you do troubleshooting for the issue. Could you confirm the following information? We appreciate your understanding that sometimes the initial reply may not resolve the problem very soon. However, we can work together to narrow down the situation.

    1.If the steps we shared above are not same as yours, feel free to point it out. We will try to follow your steps and check from our side.

    2.It looks like your Excel workbook is saved in SharePoint library. Do you use the sharing link with permission "Anyone with the link can edit"?

    3.Do you embed the code on a SharePoint page? For the picture you provided, does it mean that the SharePoint page displays fine on Google Pixel but doesn't display on Samsung Galaxy and iPhone?

    4.Does the issue happen when you embed a specific Excel workbook? If you try a different workbook, does it work? And does the issue happen on a specific SharePoint page?

    5.What is the OS version of your Samsung Galaxy phone?

    Many thanks for your patience and understanding. Hope you are keeping safe and well!

    Best Regards,

    Tina

    Was this answer helpful?

    0 comments No comments