How to stop the download of SharePoint files from Teams Desktop app

Sean Stark 0 Reputation points
2023-05-19T13:31:43.5233333+00:00

We recently went live with 365 and are working on making sure if people are not coming from our IP they can access their files but they can't download them. We set this up using conditional access and it works from the web-based app and will give you a download-blocked message:

Image preview

However, if you open up the Teams desktop app and either go to the files tab or the teams then files it allows you to download them with no problem:

Image preview

Does anyone know how to block this?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,059 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,607 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,451 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
    2023-05-19T23:16:59.3566667+00:00

    Hi @Sean Stark ,

    In your conditional access settings you need to ensure that "Mobile apps and desktop" clients is selected and not just Browser.

    User's image

    Let me know if this helps or if you still face the issue when checking "Mobile apps and desktop clients."

    https://learn.microsoft.com/en-us/microsoftteams/block-access-sharepoint

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information.

    0 comments No comments