MicrosoftTeams PS ver 2.3.0

Crod 266 Reputation points
2021-05-07T20:51:46.74+00:00

Followed this to install new version: https://jeffbrown.tech/microsoft-releases-new-microsoft-teams-powershell-module/#:\~:text=%20Microsoft%20Releases%20New%20Microsoft%20Teams%20PowerShell%20Module,PowerShell%20Module.%20Use%20the%20Get-Module%20command...%20More%20

Problem is now when I run the following:
Connect-MicrosoftTeams
New-Team -DisplayName "MSTeams - Test" -Description "Team to post technical articles and blogs" -Visibility Private

I get this new error:
New-Team : One or more errors occurred.
At line:1 char:1

  • New-Team -DisplayName "MSTeams - Test" -Description "Team to post tec ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [New-Team], AggregateException
  • FullyQualifiedErrorId : System.AggregateException,Microsoft.TeamsCmdlets.PowerShell.Custom.NewTeam

Anyone else know what is going on please?

I'm running the following powershell version: 5.1.19041.906

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,879 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,383 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,056 Reputation points Microsoft Vendor
    2021-05-10T02:56:12.52+00:00

    @Crod ,

    Could you create a team from Teams client or Teams admin center?

    Please confirm with IT admin if he configures the following settings properly:

    1. check if Create private channels is enabled in Microsoft Teams admin center > Teams polices > Global(Org-wide default).
      95105-image.png
    2. check if you are limited to create a group. For more details, please read this article.

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.