Hi,
We have a requirment, where we want Team site in such a way that no particular group of users should be able to share/upload files on Teams.
- I am aware to disable onedrive for those users so that they can't share or upload files on chat.
- I am also aware that from Site permission, if i take off the setting and make the members read only, they will not be able to share files on Teams site.
I am looking for a powershell script where i can run for all Team site, where group of users won't be able to upload/share files on Site but owners and members can.