How to Open Local Files from Teams Tab App?

GermanPearls 21 Reputation points

Looking to create a Teams Tab App which will list key resources to the users. Most resources are files (most excel) stored on a local network drive.

Attempting to open the file via a 'file://' link yields the error:

Not allowed to load local resource: file://......  

Looking for advice on how this could be accomplished, any direction would be appreciated. Thank you.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,078 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 40,031 Reputation points

    Hi @GermanPearls

    The Teams Files tab is only for SharePoint folders (the back end of Teams file structure). You cannot open local folders/files in Microsoft Teams:

    File storage in Teams

    I would recommend you migrate those shared resources to Teams Files (which is SharePoint) so everyone can share resources.


    If this is helpful please accept answer.