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 find the installed version of Microsoft Teams
- How to enable Do Not Disturb (DND) mode in Microsoft Teams
- Microsoft Teams Zoom In and Zoom Out Keyboard Shortcut
- Microsoft Teams: Sign-in is blocked error
- [Fix] Microsoft Teams Error code - 2:-1012
- How to enable Do Not Disturb (DND) mode in Microsoft Teams
- Microsoft Teams Error code - 6 issue
- How to clear Microsoft Teams Cache on Mac (macOS)
- How to disable Microsoft teams from startup Windows 10
- How to start Microsoft Teams on Mac Startup
- Teams - You're offline. Messages you send while offline will be sent when you're back online
- Microsoft Teams - Where would you like to start - Business or Personal
- How to migrate Kaizala to Microsoft Teams
- Microsoft Teams meeting Full Screen mode option missing - bring it back
- Cannot access files within Microsoft Teams - We are setting up your file directory
- Fix: Teams is in preview in Safari on Mac
- Microsoft Teams Error - You cannot add another work account to Teams at the moment
- Fix - You're missing out! Ask your admin to enable Microsoft Teams
- Microsoft Teams enable or disable Spell check
- Error code - 7: There's a more permanent way to sign in to Microsoft Teams
- [Microsoft Teams] You're not on Teams yet, but you can set it up for your organization.
- Microsoft Teams adds New Conversation Button
- How to Manage Profile Picture on Microsoft Teams
- Common Microsoft Teams sign in errors and how to fix
- Fix Microsoft Teams Admin Center error - The Security zone setting isnt configured correctly
- How to save All Files at once in Notepad++ - NotepadPlusPlus
- Hide Scrollbar from Android Views - Android
- Microsoft Sign-in Error Code: 50058 (Request Id, Correlation Id and Timestamp) - Microsoft
- Android : Connection with adb was interrupted 0 attempts have been made to reconnect - Android
- How to Compare Strings in Bash Script - Bash
- Fix: Spring Boot REST HTTP Status 415 - Unsupported Media Type Error - Java
- Access Windows share folder in Ubuntu Device in Network - Ubuntu
- Change Android Toast background color - Android