Hi Absar,
This function can not be achieved,if you want to blocked the file share ,you just block this funtion for all edge file transfer include internal to external file transfer.
new-csfiletransferfilterconfiguration -identity
site:Redmond -action blockall -enabled $true
You cannot blocked it for all federated users.
Best Regards,
Leon Lu
Please remember to
mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
tnsf@microsoft.com.
Click
here to learn more. Visit the dedicated
forum to share, explore and talk to experts about Microsoft Teams.