Skip to content

Commit

Permalink
Merge pull request #3948 from NikCharlebois/Updated-MSCloudLoginAssis…
Browse files Browse the repository at this point in the history
…tant

Updated MSCloudLoginAssistant
  • Loading branch information
NikCharlebois authored Nov 24, 2023
2 parents f7f886e + 19f1cf9 commit 8d39d82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change log for Microsoft365DSC

# UNRELEASED

* DEPENDENCIES
* Updated MSCloudLoginAssistant to version 1.1.0.

# 1.23.1122.1

* SPOSharingSettings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -920,33 +920,6 @@ function Convert-M365DSCPlannerTaskChecklistToCIMArray
return $StringContent
}

function Get-M365DSCPlannerPlansFromGroup
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable[]])]
Param(
[Parameter(Mandatory = $true)]
[System.String]
$GroupId,

[Parameter(Mandatory = $true)]
[System.Management.Automation.PSCredential]
$Credential
)
$results = @()
$uri = "https://graph.microsoft.com/v1.0/groups/$GroupId/planner/plans"
$taskResponse = Invoke-MSCloudLoginMicrosoftGraphAPI -CloudCredential $Credential `
-Uri $uri `
-Method Get
foreach ($plan in $taskResponse.value)
{
$results += @{
Id = $plan.id
Title = $plan.title
}
}
return $results
}

function Get-M365DSCPlannerTasksFromPlan
{
Expand Down
2 changes: 1 addition & 1 deletion Modules/Microsoft365DSC/Dependencies/Manifest.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
@{
ModuleName = "MSCloudLoginAssistant"
RequiredVersion = "1.0.121"
RequiredVersion = "1.1.0"
},
@{
ModuleName = 'PnP.PowerShell'
Expand Down

0 comments on commit 8d39d82

Please sign in to comment.