Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return mandatory params for TGPA #4486

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading