Forum Discussion
Remove / Hide "Add real-time chat" programmatically
Hey guys,
Anyone know if it's possible to hide, disable or completely remove the "Add real-time chat" Dialog Box at the bottom left that appears if you create a new SharePoint Site that's not connected to a Microsoft Team yet?
I'm looking for any programmatical solutions, best would be JavaScript or PowerShell. (Node, SPFx, PnP,...)
cheers!
casparrubin Try using this PnP PowerShell code and see if it works for you:
$siteURL = "https://contoso.sharepoint.com/sites/myteam" Connect-PnPOnline -URL $siteURL -Interactive Set-PnPPropertyBagValue -Key "TeamifyHidden" -Value "True"
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
casparrubin Try using this PnP PowerShell code and see if it works for you:
$siteURL = "https://contoso.sharepoint.com/sites/myteam" Connect-PnPOnline -URL $siteURL -Interactive Set-PnPPropertyBagValue -Key "TeamifyHidden" -Value "True"
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- casparrubinCopper ContributorTy ganeshsanap, this worked!