loading...
Cover image for How to make the teamify dialog re-appear in Office 365

How to make the teamify dialog re-appear in Office 365

okms profile image Ole Kristian Mørch-Storstein ・1 min read

Here's a quick tip for those who have permanently dissmissed the "Teamify" site dialog in an Office365 group site.

Teamify dialog screenshot

PnP PowerShell snippet

$siteUrl = "<full url to your site collection>"
# Show Teamify prompt again
$site = Get-PnPTenantSite -url $siteUrl 
# Temporarily disable NoScript
$site.DenyAddAndCustomizePages = [Microsoft.Online.SharePoint.TenantAdministration.DenyAddAndCustomizePagesStatus]::Disabled
$site.Update()
$site.Context.Load($site)
$site.Context.ExecuteQuery()

Connect-PnPOnline -Url $siteUrl
Remove-PnPPropertyBagValue -Key TeamifyHidden

# re-enable NoScript
$site.DenyAddAndCustomizePages = [Microsoft.Online.SharePoint.TenantAdministration.DenyAddAndCustomizePagesStatus]::Enabled
$site.Update()
$site.Context.ExecuteQuery()

The short version of what this script does is that it temporarily removes the NoScript limitation enforced on all group sites in Office 365. This is done so we can remove the "TeamifyHidden" propertybag value which is what controls whether or not the dialog should be visible. Finally we re-enable NoScript.

For those who don't know, the teamify dialog allows you to create an Office 365 team attached to your existing group site. There are of course other ways of doing this, the most common being to attach your existing group site to a new Team through the Teams interface

create a team from an existing site

Posted on by:

okms profile

Ole Kristian Mørch-Storstein

@okms

Engineer. Developer. Dad. Robot rights activist and occasional vampire hunter.

Discussion

pic
Editor guide