How to create Team templates using Teams admin center

In this article we will learn how to create Team templates using Teams admin center

Team templates

Teams templates can be used to create teams, channels, and apps that are available to users with common needs or a common project. Teams templates are available to all organisations including small to large business and educational organisations.

Administrators within educational institutions cannot modify the default templates for Class, PLC, or Staff teams. However, they do have the ability to create and edit new templates from these defaults using ‘create template from existing template’ or ‘create template from existing team’ option

Lets do it step by step

Login to Teams admin center : https://admin.teams.microsoft.com/

Navigate to Teams –> Team templates –> add

You will be able to see all pre-created templates along with description , check suitable per the business requirement

Let’s create a new one by clicking add –> create a new template –> next

Give a proper title and hit next

Add channels and app accordingly , e.g. –> I have added test 2 channel and one note app –> then submit

Done

click on created template –> you can add channels and apps from here

PowerShell Script for above manual task

Install-Module Microsoft.Graph -Scope AllUsers

Connect-MgGraph -Scopes "TeamTemplate.ReadWrite.All","Group.ReadWrite.All","Directory.ReadWrite.All"

# Connect to Microsoft Graph
Connect-MgGraph -Scopes "TeamTemplate.ReadWrite.All","Group.ReadWrite.All","Directory.ReadWrite.All"
Select-MgProfile -Name "beta"    # Team Templates are available in Graph Beta

# Define Template Body
$templateBody = @{
    displayName = "Project Management Template"
    description = "A custom template for project teams"
    teamDefinition = @{
        memberSettings = @{
            allowCreateUpdateChannels = $true
            allowAddRemoveApps = $true
            allowCreateUpdateRemoveTabs = $true
        }
        messagingSettings = @{
            allowUserEditMessages = $true
            allowUserDeleteMessages = $false
        }
        funSettings = @{
            allowGiphy = $true
            giphyContentRating = "moderate"
        }

        # Channels included in the Template
        channels = @(
            @{
                displayName = "General"
                isFavoriteByDefault = $true
            },
            @{
                displayName = "Planning"
                isFavoriteByDefault = $true
                tabs = @(
                    @{
                        displayName = "Documents"
                        teamsApp@odata.bind = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/com.microsoft.teamspace.tab.files"
                        configuration = @{
                            contentUrl = "https://www.microsoft.com"
                        }
                    }
                )
            },
            @{
                displayName = "Development"
                isFavoriteByDefault = $false
            }
        )
    }
}

# Create Template
$template = New-MgTeamTemplate -BodyParameter $templateBody

Write-Host "Teams Template created successfully!"
Write-Host "Template ID: $($template.Id)"

Conclusion :

Post reading above article user will be able to create Team templates using Teams admin center

Also Read  How to create or edit Teams Templates policies

Also you can read this article https://microbrother.com/how-to-create-teams-channel-using-teams-admin/ to create channels in TAC

Thank you 😇

Leave a Comment