How do I allow guest users to be able to open Sharepoint documents in their browser with web=1 in the URL?

Eric Shen 21 Reputation points

I'm working on a client's SharePoint online site and for some reason, guest users (people who access using their their own organizational Microsoft account) are not able to open a PDF document when the URL ends with web=1, For example, https://<tenant site>/sites/Client/Docs/MyDocs.pdf?web=1 doesn't work but https://<tenant site>/sites/Client/Docs/MyDocs.pdf does). Word and Excel files work.

I don't see the problem on a different SharePoint online site so there must be some sort of configuration setting (either through Office 365 admin or SharePoint admin) that is different but I am not an admin on the problematic SharePoint site so I cannot compare the settings of both sites.

Does anybody know what needs to be enabled to allow guests to be able to open a file in the browser when the URL ends with web=1?

Thanks in advance

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,547 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eric Shen 21 Reputation points

    Nothing shows up on the browser except a trail of five small blue dots goes across the top of the screen.
    This is the HTML from the debugger...

    In the debugger, these two requests get a response of Failed to load response data


    For non-guest users, there is a response from these two requests.

    Here are the errors being generated in the console window...