Quick way to create a Teams using TAC

This article talks about on Quick way to create a Team using TAC

Teams

Teams and channels are collections of people, content, and tools used for projects or outcomes within your organization. You can manage all team and channels, and create new ones as per the requirement

Lets create a Team in TAC step by step

Login to TAC : https://admin.teams.microsoft.com/

Navigate to Teams –> Manage Teams –> Add

Fill all the details like a Name, assign a Team owner , select a privacy –> either private / public –> click on Apply

The main difference is that private team are hidden from most of the organization and require an owner’s permission to join, while public team are visible to everyone and can be joined by anyone without approval. Public team are suitable for open collaboration, while private team are better for sensitive or confidential projects

Feature Private TeamPublic Team
VisibilityHidden from most users; only members can see themVisible to everyone in the organization
JoiningRequires an invitation from a team owner or owner approvalAnyone can join from the team gallery
Best ForSensitive projects and confidential informationOpen collaboration and broad communication
SecurityHigher security due to restricted accessLower security as all members have access
CreationAll new team are private by defaultMust be manually changed from a private team to public

created Team can be handle from here

we are done here

PowerShell script for above manual task

Install-Module Microsoft.Graph -Scope AllUsers

# Connect to Microsoft Graph with required permissions
Connect-MgGraph -Scopes "Group.ReadWrite.All", "Directory.ReadWrite.All"

# Set variables for the new Team
$teamDisplayName = "MicroBrother Test Team"
$teamDescription = "This is a test team created via PowerShell Script"
$teamVisibility = "Private"  # Use "Public" for public team

# Create Microsoft 365 Group (required before Team creation)
$group = New-MgGroup -DisplayName $teamDisplayName `
                     -Description $teamDescription `
                     -MailEnabled $false `
                     -MailNickname ("Team" + (Get-Random)) `
                     -SecurityEnabled $true `
                     -GroupTypes @("Unified")

Write-Host "Microsoft 365 Group created with ID:" $group.Id

# Convert the group into a Team
New-MgTeam -GroupId $group.Id -DisplayName $teamDisplayName -Description $teamDescription -Visibility $teamVisibility

Write-Host "Team created successfully!"

# Add an Owner
New-MgGroupOwnerByRef -GroupId $group.Id -BodyParameter @{
    "@odata.id" = "https://graph.microsoft.com/v1.0/users/admin@microbrother.com"
}

# Add a Member
New-MgGroupMemberByRef -GroupId $group.Id -BodyParameter @{
    "@odata.id" = "https://graph.microsoft.com/v1.0/users/user1@microbrother.com"
}

Click on created Team –> hit settings button–> you can edit settings from here.

Also Read  How to manage Teams settings in Teams admin center

You can delete creates Team from below option

Click on view deleted teams

you can restore it easily

visible again under active team

Conclusion:

Post reading above article reader will be able to create a Team using Teams admin center in both ways viz manual way and using PowerShell script

Also you can read https://microbrother.com/teams-premium-features-explained-quickly/ this article to understand the Teams premium features

Thank you 😇

Leave a Comment