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.
- Microsoft Teams meeting Full Screen mode option missing - bring it back
- How to uninstall/remove or disable Microsoft Teams
- Microsoft Teams enable or disable Spell check
- Cannot open or preview pdf with view only and restricted download access in Microsoft Teams
- Microsoft Teams change default language
- Fix Microsoft Teams error We're sorry—we've run into an issue Try again
- Fix Microsoft Teams Admin Center error - The Security zone setting isn't configured correctly
- How to disable Microsoft teams from startup Windows 10
- Microsoft Teams adds New Conversation Button
- How to integrate Salesforce CRM Sales and Service with Microsoft Teams
- How to track and download Microsoft Teams meeting attendance report of participants/students
- How to Enable Dark Mode Theme in Microsoft Teams
- How to use Spotlight feature in Teams meeting to pin and highlight participant and content
- Microsoft Teams Error code - 6 issue
- [Microsoft Teams] You're not on Teams yet, but you can set it up for your organization.
- How to enable Do Not Disturb (DND) mode in Microsoft Teams
- Microsoft Teams Zoom In and Zoom Out Keyboard Shortcut
- How to enable, create and use Virtual Breakout Rooms in Microsoft Teams
- How to enable Do Not Disturb (DND) mode in Microsoft Teams
- Android : Error in http connection java.net.SocketException: Permission denied - Android
- How to create Toast messages in Android - Android
- How to Search Something (string) in Android Studio Project like Eclipse - Android-Studio
- How to detect Browser and Operating System Name and Version using JavaScript - JavaScript
- Free Unlimited Calls from MTNL & BSNL Landlines from 1st May 2015 - HowTos
- Adding internet permission to Android Project - Android
- How to turn off Facebook autoplay videos on timeline - Facebook
- Android : How to make TextView Scrollable - Android
- Sharepoint Server 2016 installation Prerequisites with download links - SharePoint
- How to get current URL Location using Javascript HTML - JavaScript
- Android Toast position top - Android
- How to submit website to dmoz directory - HowTos
- SharePoint Server 2016 setup error - A system restart from a previous installation or update is pending. Restart your computer and run setup to continue. - SharePoint
- Java XML-RPC 3.1.x based web service example - Java
- Plug-in com.android.ide.eclipse.adt was unable to lead class Error - Android