Skip to content

Commit

Permalink
Merge pull request #3701 from ricmestre/fix3632
Browse files Browse the repository at this point in the history
M365DSCUtil: Fix problem naming similar resources
  • Loading branch information
NikCharlebois authored Sep 20, 2023
2 parents af52f33 + c9d2426 commit 7933bf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* DEPENDENCIES
* Updated MicrosoftTeams to version 5.6.0.
FIXES [#3671](https://github.com/microsoft/Microsoft365DSC/issues/3671)
* MISC
* M365DSCUtil: Fix problem naming similar resources
FIXES [#3700](https://github.com/microsoft/Microsoft365DSC/issues/3700)

# 1.23.913.2

Expand Down
2 changes: 1 addition & 1 deletion Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -3301,7 +3301,7 @@ function Get-M365DSCExportContentForResource
$i++
}
$instanceName = $tempName
$Global:M365DSCExportedResourceInstancesNames += $tempName
[string[]]$Global:M365DSCExportedResourceInstancesNames += $tempName

$content = [System.Text.StringBuilder]::New()
[void]$content.Append(" $ResourceName `"$instanceName`"`r`n")
Expand Down

0 comments on commit 7933bf4

Please sign in to comment.