How to Disable Microsoft Teams "Create a Team" Prompt in SharePoint Online?

Requirement: Disable "Microsoft Teams" prompt in SharePoint Online site.

On Office 365 group connected modern SharePoint team sites, SharePoint displays a banner on the bottom left of the screen asking users to connect to Microsoft Teams to easily Teamify an existing site, which caused confusion to users. If the user clicks the link, the site will be converted to Microsoft Teams, So we wanted to hide teams popup! 
disable microsoft teams prompt in sharepoint online

How to Disable Create Team prompt in SharePoint Online?
Here is how we can disable teams prompt in the SharePoint Online site by setting the property bag value.
#Variables
$SiteURL = "https://crescent.sharepoint.com/sites/Credit"

#Connect to PnP Online
Connect-PnPOnline -URL $SiteURL -UseWebLogin

#Update the Property bag key to remove Teams Prompt
Set-PnPPropertyBagValue -Key "TeamifyHidden" -Value "True"

This PowerShell script hides Teamify popup in SharePoint Online site. BTW, You must enable custom scripting prior setting the property bag value, otherwise, you'll see "Access denied" and you must do it site collection by site collection basis (There is no tenant wide setting to disable it as of today).
How to Disable Microsoft Teams "Create a Team" Prompt in SharePoint Online? How to Disable Microsoft Teams "Create a Team" Prompt in SharePoint Online? Reviewed by Salaudeen Rajack on July 28, 2019 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.