Skip to content

Commit

Permalink
Merge pull request #4486 from ricmestre/tgparesourcekey
Browse files Browse the repository at this point in the history
Return mandatory params for TGPA
  • Loading branch information
NikCharlebois authored Mar 24, 2024
2 parents bd5bdc8 + e9c9512 commit 8b46268
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
Fix Update-DeviceConfigurationPolicyAssignment so that if the group cannot
be found by its Id it tries to search it by display name
FIXES [#4467](https://github.com/microsoft/Microsoft365DSC/issues/4467)
* M365DSCReport
Fix issue when asserting TeamsGroupPolicyAssignment configurations by
returning its both mandatory parameters in Get-M365DSCResourceKey
* Fix broken links to integration tests in README.md

# 1.24.313.1
Expand Down
4 changes: 4 additions & 0 deletions Modules/Microsoft365DSC/Modules/M365DSCReport.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,10 @@ function Get-M365DSCResourceKey
{
return @('OrgWideAccount')
}
elseif ($Resource.ResourceName -eq 'TeamsGroupPolicyAssignment')
{
return @('GroupDisplayName', 'PolicyType')
}
elseif ($mandatoryParameters.count -eq 1)
{
# returning the only mandatory parameter name
Expand Down

0 comments on commit 8b46268

Please sign in to comment.