Hiding Teams/sharepoint storage in the Teams UI

po-0500 55 Reputation points
2024-02-26T17:06:52.49+00:00

Our messaging extension has good capability to insert files from our 3rd party app. We also have a tab that duplicates the need for the Files tab with teams and sharepoint storage. The point is that our customers don't want to use the Teams, OneDrive, or SharePoint storage. I've looked into the Office Customization Tool, powershell scripts, etc to determine the exact config settings to hide the Microsoft native storage options in the UI. I can't determine if the use cases below are feasible. Can someone point me to the documentation for these use cases? Use Case 1: hide the paper clip icon (aka "Attach cloud files") from the posts UI Use Case 2: hide the native Files tab in a channel

Microsoft Teams | Development
{count} votes

2 answers

Sort by: Most helpful
  1. po-0500 55 Reputation points
    2024-02-27T13:54:38.0533333+00:00

    Here is a mockup for parts of the UI that we should be able to hide. User's image


  2. ChetanSharmamsft 1,036 Reputation points Microsoft External Staff Moderator
    2024-03-06T07:39:25.08+00:00

    Hello @PaulOdette-0500 - Hope you are doing well!!
    Yes, you can use PowerShell commands to do it:

    Set-CsTeamsFilesPolicy -Identity Global -NativeFileEntryPoints Disabled
    
    

    Reference doc:
    https://learn.microsoft.com/en-us/microsoftteams/turn-off-teams-native-file-upload-policy

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.