How to disable file sharing with external/guest users in Teams

Copper Contributor



I would like to disable file sharing with external/guest users in Teams.

It's possible to disable file sharing in Teams from SharePoint / One Drive and Upload from Computer ?


In this week I disabled to share files with with external/guest on SharePoint Admin Center and I make a test meeting with external/guest user and I still can share files.

In addition today I disabled this option on AD Azure.


Why is it so hard to turn off this option ? 

Does Teams even have this option to disable file sharing with external/guest users ?


3 Replies
Do you want to upload this sharing in all Teams or just in private chats?

@Juan Carlos González Martín 


I would like to disable to sharing files in meetings with external / guest users.



if you are chatting with an external user (federation) you can't share files


A guest that is invited to a team can share files in the team because it gets access to the SharePoint library. You can technically change the permissions to the library and/or folders for the team or channels in the team, but that is not recommended


In private meetings by default internal users can share files with all participants - in theory - in fact a new message where users can change the file permissions to "People currently in this chat". From my testing however this is not the case. Access is granted only to users that are existing guests. External users that have been invited with their email address will not be able to access the file.

Given access that shared files in a team meeting are stored in OneDrive, the explanation I have for this is based on OneDrive settings being "new and existing guests" meaning the meeting participants need to be existing guests (a new guest is only created with a Teams invitation, not by just sharing a file in OneDrive)