May 27 2022 06:10 AM
Hi everyone, since 3 days I can not create a TEAMS via Powershell anymore. Its the same script since 3 months at it was never a problem.
My script is:
# Team Display Name - declare Variables
$display_name = "Ayti Test 3"
$description_name = "MCCH-ORG-EXT Ayti Test 3"
$mailnick_name = "MCCH-ORG-EXTAYTITEST3"
$owner = "my Company Email Adress"
#PS for Creation
New-Team -DisplayName $display_name -MailNickName $mailnick_name -Description $description_name -Owner $owner -AllowCreateUpdateRemoveConnectors:$false -AllowCreateUpdateRemoveTabs:$false -AllowAddRemoveApps:$false -AllowDeleteChannels:$false -AllowGuestDeleteChannel:$false -AllowCreateUpdateChannels:$false -Visibility "private"
The Error message since today is:
New-Team : NotFound in /v1.0/teams/ endpoint
At line:1 char:2
+ New-Team -DisplayName $display_name -MailNickName $mailnick_name -De ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-Team], HttpRequestException
+ FullyQualifiedErrorId : System.Net.Http.HttpRequestException,Microsoft.Teams.PowerShell.TeamsCmdlets.NewTeam
Like I told you above, this script worked since 3 months without any problems. Any Idea what the Problem is?
Regards
Aytac
May 27 2022 06:43 AM
May 27 2022 06:54 AM
May 27 2022 01:12 PM
Jun 02 2022 12:58 AM
my script is working again since this week, i don't know what the problem was but definitely not my script because i didn't make any changes. i'm pretty sure there was a problem at microsoft.