If you try to open a read only pdf file from Microsoft Teams channel, you may encounter an error "Hmm… looks like this file doesn't have a preview we can show you." with a download button. Clicking the Download button does not do anything.
The preview error occurs if you modify the permissions and restrict download using SharePoint permissions or IRM settings (Information Rights Management).
Observations
- You see a Read-only icon near the file stating its 'Read-only.'
- Clicking the file shows message "Hmm… looks like this file doesn't have a preview we can show you.".
- Clicking the Download button does nothing.
- Problem occurs only with pdf files. Other Microsoft Office file types like Word, PowerPoint, Excel, image, etc. can be opened without any problem.
- You can successfully open the file by clicking "Open in SharePoint" link from the Files tab in Teams.
- Modifying the permissions and granting minimum Read/View access from SharePoint allows the file to open successfully.
- Behavior is same in public and private channels.
- Behavior is same in Desktop Client, Mobile App and Web browser.
- Behavior is same for organizational and external users.
Looks like Microsoft Teams expects minimum read permissions with download rights in order to preview the pdf file. Note that Teams has only 2 permission sets (Owner and Member), unlike SharePoint (Owners, Members, Visitors, plus custom permissions sets).
So if you want to restrict downloading of PDF's for your users, do it through SharePoint as it will break in Teams.
- How to track and download Microsoft Teams meeting attendance report of participants/students
- How to Install Microsoft Teams App on M1 or M2 Mac
- How to uninstall/remove or disable Microsoft Teams
- How to enable, create and use Virtual Breakout Rooms in Microsoft Teams
- Cannot open or preview pdf with view only and restricted download access in Microsoft Teams
- [Fix] Microsoft Teams a JavaScript error occurred in the main process Error
- How to enable Do Not Disturb (DND) mode in Microsoft Teams
- Microsoft Teams - Where would you like to start - Business or Personal
- [fix] White Screen when open Teams on Windows
- How to turn on channel notifications for Microsoft Teams
- Fix: Teams is in preview in Safari on Mac
- Microsoft Teams Error code - 6 issue
- Microsoft Teams Zoom In and Zoom Out Keyboard Shortcut
- [Microsoft Teams] You're not on Teams yet, but you can set it up for your organization.
- Microsoft Teams meeting Full Screen mode option missing - bring it back
- Fix Something went wrong 0xCAA20004 [Microsoft Teams]
- Cannot access files within Microsoft Teams - We are setting up your file directory
- How to Enable Dark Mode Theme in Microsoft Teams
- [Fix] Modern authentication failed here, but youll still be able to sign in. Your status code is 4c7 - Microsoft Teams
- Microsoft Teams enable or disable Spell check
- Fix Microsoft Teams Admin Center error - The Security zone setting isn't configured correctly
- Microsoft Teams adds New Conversation Button
- Microsoft Teams Error - You cannot add another work account to Teams at the moment
- How to Update Microsoft Teams to the latest Version
- Cannot create new Microsoft Team using PowerShell, even as Admin
- [Fix] Cannot connect to Microsoft SQL Server, Error: 18456 - Microsoft
- How to know list of images available on your device - Docker
- What is Carbon Lang (successor to C++?) experimental Language by Google - News
- How to Change Text Size for Android ActionBar - Android
- Git Commit - Author identity unknown, Please tell me who you are email - Git
- macOS Big Sur compatible Macs List - MacOS
- Programmatically check if Facebook is installed on Android device - Android
- Telegram down in Europe - users facing connection issues and 500 Internal Server error - News