Forum Discussion

cymorg1's avatar
cymorg1
Copper Contributor
Nov 07, 2022

Sharing Web is blocked for Teams Channel Site

I have a Teams Private Channel.
I login to Teams as user X and share a file or folder with an existing internal user, user Y. User Y is not a member of the Team or Channel and can still access the file.  Great - that's want I want to do but I want to do it programatically by creating a sharing link using an ASP.NET program.

When I create the link in .NET, making sure the creator is user X, I get the error "Sharing web is blocked for Teams Channel site".  

So, why can I create this sharing link manually but not programtically?  Where is the setting that is blocking this from being allowed?

3 Replies

Resources