How to Open Local Files from Teams Tab App?

GermanPearls 21 Reputation points
2022-10-25T16:31:15.67+00:00

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,845 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 54,466 Reputation points
    2022-10-25T16:47:50.297+00:00

    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

    https://support.microsoft.com/en-us/office/file-storage-in-teams-df5cc0a5-d1bb-414c-8870-46c6eb76686a

    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.