DEV Community

Cover image for How to make the teamify dialog re-appear in Office 365
Ole Kristian Mørch-Storstein
Ole Kristian Mørch-Storstein

Posted on

1 2

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

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()

Enter fullscreen mode Exit fullscreen mode

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

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay