Jan 13 2021
- last edited on
Feb 06 2023
I have a few SharePoint online pages where i do not want teams to be activated. I have with the script bellow tried to remove the ability for owners and administrators as best as i can to be able to activate teams but even so someone still managed to activate teams for one SharePoint site and i would like to know if anyone can describe how he could have managed to do it(he do not know himself) even with Teamify set to hidden so i can inform everyone what not to do / click on.
$SiteURL = "https://contoso.sharepoint.com/sites/Contoso"
#Connect to PnP Online
Connect-PnPOnline -URL $SiteURL -UseWebLogin
#Update the Property bag key to remove Teams Prompt
Set-PnPPropertyBagValue -Key "TeamifyHidden" -Value "True"
Jan 13 2021 01:50 AM
Jan 13 2021 01:53 AM
Jan 13 2021 02:35 AM
Jan 13 2021 11:30 AM
Jan 13 2021 02:32 PMSolution