Fix SharePoint Library Links Not Opening in Teams Desktop App
Question details
Users are unable to open SharePoint document library links (.url files) from within the Microsoft Teams desktop application.

- Product
- Microsoft Teams
- Device & OS
- not provided
- Scenario
- Clicking a link created in a SharePoint library that is meant to redirect to another library while working inside the Teams desktop client.
- Observed behavior
- The link works correctly in web browsers and the SharePoint web interface, but clicking the .url file does nothing in the Microsoft Teams desktop app.
Ensure your Microsoft Teams desktop application is updated to the latest version, and verify that the target SharePoint URL is correct and accessible via a standard web browser.
Add the SharePoint Library as a Website Tab in Teams
Adding the target SharePoint library as a dedicated Website tab in your Teams channel bypasses the .url file limitation and provides reliable, direct access.
Because the Teams desktop client struggles to execute .url files natively, integrating the destination SharePoint library as a Website tab ensures all team members can access the documents seamlessly without leaving the Teams interface.
Open the Microsoft Teams desktop application and navigate to the specific channel where you want to access the SharePoint library.
Click the '+' (Add a tab) icon located at the top of the channel window.
Select 'Website' from the list of available applications. If you do not see it immediately, use the search bar.
Enter a descriptive name for the tab and paste the target SharePoint document library URL into the URL field.
Click 'Save' to pin the SharePoint library directly to your channel for easy access.

Use the Open in SharePoint Option
If the .url link refuses to open inside the Teams interface, you can quickly open the current library in your web browser where the links function normally.
Access the Library via the Teams Web Application
The .url file rendering issue is specific to the Teams desktop client. Using the Teams web app allows these links to open normally.
Experience Hassle-Free Document Management with WPS Office
Troubleshooting link limitations between Microsoft Teams and SharePoint can disrupt your workflow. If you are looking for a reliable, lightweight, and highly compatible document solution, WPS Office is an excellent free alternative to Microsoft Office. It offers seamless file compatibility and an intuitive tabbed interface for all your document creation needs without relying on complex web integrations.
- 1. Download and Install: Visit the official WPS website to download the free WPS Office installer for your operating system.
- 2. Open Your Documents: Launch WPS Office and easily open your existing .docx, .xlsx, or .pptx files.
- 3. Save and Share: Save your work locally or sync it to WPS Cloud for easy sharing without relying on complex SharePoint configurations.

Frequently Asked Questions
Why do .url links work in SharePoint web but fail in the Teams desktop app?
The Microsoft Teams desktop application uses a specialized internal file previewer that currently struggles to properly parse and execute .url shortcut files created in SharePoint. Web browsers handle these redirects natively, which is why the links work perfectly there.
Can I fix the .url link without adding a new tab in Teams?
Currently, there is no direct setting to force the Teams desktop client to execute .url files. The best immediate workarounds are opening the library via the 'Open in SharePoint' button or using the Teams web application.
Will adding a Website tab to Teams grant access to everyone in the channel?
Yes, the Website tab itself will be visible to everyone in the channel. However, users will still need the appropriate SharePoint permissions to view the actual files within that linked document library.
Does this link issue affect the Teams mobile app?
Behavior can vary depending on the mobile OS, but generally, adding the target SharePoint URL as a Website tab ensures the most consistent and reliable experience across desktop, web, and mobile versions of Microsoft Teams.




