🐛 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:
@@ -12,7 +12,7 @@
|
||||
# RootModule = ''
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '2.1.1'
|
||||
ModuleVersion = '2.1.2'
|
||||
|
||||
# Supported PSEditions
|
||||
# CompatiblePSEditions = @()
|
||||
|
||||
@@ -59,7 +59,7 @@ Function Import-TeamsUsers {
|
||||
} Elseif ($NewTeamPriv -Eq "r") {
|
||||
$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
|
||||
} Else {
|
||||
##### GET USER'S TEAMS #####
|
||||
|
||||
Reference in New Issue
Block a user