🐛 FIX: Fix hardcoded description for new teams

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #9.
This commit is contained in:
2020-05-28 14:32:12 +01:00
committed by Luke Tainton
parent c383fb840d
commit ead4d470f7
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
# RootModule = '' # RootModule = ''
# Version number of this module. # Version number of this module.
ModuleVersion = '2.1.1' ModuleVersion = '2.1.2'
# Supported PSEditions # Supported PSEditions
# CompatiblePSEditions = @() # CompatiblePSEditions = @()

View File

@@ -59,7 +59,7 @@ Function Import-TeamsUsers {
} Elseif ($NewTeamPriv -Eq "r") { } Elseif ($NewTeamPriv -Eq "r") {
$NewTeamVis = "Private" $NewTeamVis = "Private"
} }
$NewTeam = New-Team -DisplayName $NewTeamName -MailNickName $NewTeamName -Description "Testing team creation from PowerShell" -Visibility $NewTeamVis $NewTeam = New-Team -DisplayName $NewTeamName -MailNickName $NewTeamName -Description $NewTeamDesc -Visibility $NewTeamVis
$GroupId = $NewTeam.GroupId $GroupId = $NewTeam.GroupId
} Else { } Else {
##### GET USER'S TEAMS ##### ##### GET USER'S TEAMS #####