Forum Discussion

osamamansoor's avatar
osamamansoor
Copper Contributor
Feb 15, 2024

SharePoint Online - Restricted View - Sorry, you don't have access.

Hi,

We have SharePoint Online sites in which we have documents and having multiple folders. We are facing an issue that we give "Restricted View" Permission to one user on a folder to only read file and restrict downloading. but i came to known that permissions are work fine for word file and word file is opening with not to download restrictions but pdf file is not opening  and prompt "Sorry, you don't have access. " if i ask for permission from admin and admin provide restricted permission the same behavior occurs.

 

As per my troubleshooting steps on library settings under advance setting change opening document in the browser but not working.

 

All screen shots are attached.

5 Replies

  • BarryGoblon's avatar
    BarryGoblon
    Iron Contributor
    To begin, the crux of the issue seems to be PDF files not opening properly when a user has "Restricted View" permissions on a SharePoint Online folder. A potential culprit could be the PDF file viewer settings.

    First thing to try - head to the library settings, then under "Advanced Settings", locate the "Opening Documents in the Browser" option. For .pdf files, change this to open in the client application rather than the browser viewer.

    Another plausible reason stems from limited web browser controls. Some organizations configure browsers with restricted functionality when opening files directly. This limited mode might clash with the PDF viewer's ability to open files under "Restricted View" permissions. Test this theory by opening the PDF in an incognito/private session or a different browser without such constraints.

    While you mentioned setting "Restricted View" permissions, it's worth double-checking the specific permissions assigned to the PDF files themselves. Confirm the user has at least that "Restricted View" access explicitly granted on those PDFs too.

    In some rare instances, a temporary SharePoint Online service hiccup or bug could potentially cause conflicts between the PDF viewer and "Restricted View". Verify if Microsoft has reported any active service issues.

    If none of those avenues pan out, the next logical step would be to engage Microsoft Support. Their team may provide more focused guidance or escalate the matter to engineering if needed.
    • osamamansoor's avatar
      osamamansoor
      Copper Contributor

      BarryGoblon 

       

      Sorry for late reply.

       

      Below are my responses against your each comments

       

      To begin, the crux of the issue seems to be PDF files not opening properly when a user has "Restricted View" permissions on a SharePoint Online folder. A potential culprit could be the PDF file viewer settings.

      First thing to try - head to the library settings, then under "Advanced Settings", locate the "Opening Documents in the Browser" option. For .pdf files, change this to open in the client application rather than the browser viewer.

       

      It was on "open in the client application" and for troubleshooting. i select "open in the browser."

       

       Another plausible reason stems from limited web browser controls. Some organizations configure browsers with restricted functionality when opening files directly. This limited mode might clash with the PDF viewer's ability to open files under "Restricted View" permissions. Test this theory by opening the PDF in an incognito/private session or a different browser without such constraint

       

      No specific permission / restriction on browser

       

      While you mentioned setting "Restricted View" permissions, it's worth double-checking the specific permissions assigned to the PDF files themselves. Confirm the user has at least that "Restricted View" access explicitly granted on those PDFs too.

       

      As mentioned two different files word and pdf having same restricted permission but permission in only working for other file rather than pdf

       

       

  • TimmyAu's avatar
    TimmyAu
    Copper Contributor
    We have the same issue. The permission is working fine if I use 'Read' instead.

    Waiting for fix.
  • Aysani's avatar
    Aysani
    Copper Contributor
    I am facing the same issue, with .png files so far, If I add read access it will work but users can download the files then 😞

Resources