Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmestre committed Oct 11, 2023
1 parent 7a046f6 commit 48d923d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
FIXES [#3744](https://github.com/microsoft/Microsoft365DSC/issues/3744)
* EXODistributionGroup
* Fixes the export of group membership to use Identity.
* MISC
* M365DSCReport: Also define property dataType, if present, as being primary key on CIM instances
* TeamsUpgradeConfiguration
* Fixes an issue where the SfBMeetingJoinUx property wasn't properly updated.
* DEPENDENCIES
Expand Down
6 changes: 6 additions & 0 deletions Modules/Microsoft365DSC/Modules/M365DSCReport.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@ function Get-M365DSCCIMInstanceKey
[System.Collections.Hashtable]
$CIMInstance
)

$primaryKey = ''
if ($CIMInstance.ContainsKey('IsSingleInstance'))
{
Expand Down Expand Up @@ -1108,6 +1109,11 @@ function Get-M365DSCCIMInstanceKey
{
$primaryKey = 'odataType'
}
elseif ($CIMInstance.ContainsKey("dataType"))
{
$primaryKey = 'dataType'
}

return $primaryKey
}

Expand Down

0 comments on commit 48d923d

Please sign in to comment.