Skip to content

Commit

Permalink
Fixes #2503
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Nov 11, 2022
1 parent 67d500a commit 5cb8d28
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log for Microsoft365DSC

# UNRELEASED

* SCRetentionCompliancePolicy
* Fixes the Location parameters to be a string array instead of an object array.
FIXES [#2503](https://github.com/microsoft/Microsoft365DSC/issues/2503)

# 1.22.1109.1

* EXODataClassification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,19 +155,19 @@ function Get-TargetResource
Ensure = 'Present'
Name = $PolicyObject.Name
Comment = $PolicyObject.Comment
DynamicScopeLocation = [array]$PolicyObject.DynamicScopeLocation
DynamicScopeLocation = [array]$PolicyObject.DynamicScopeLocation.DisplayName
Enabled = $PolicyObject.Enabled
ExchangeLocation = [array]$PolicyObject.ExchangeLocation
ExchangeLocation = [array]$PolicyObject.ExchangeLocation.DisplayName
ExchangeLocationException = [array]$PolicyObject.ExchangeLocationException
ModernGroupLocation = [array]$PolicyObject.ModernGroupLocation
ModernGroupLocation = [array]$PolicyObject.ModernGroupLocation.DisplayName
ModernGroupLocationException = [array]$PolicyObject.ModernGroupLocationException
OneDriveLocation = [array]$PolicyObject.OneDriveLocation
OneDriveLocation = [array]$PolicyObject.OneDriveLocation.DisplayName
OneDriveLocationException = [array]$PolicyObject.OneDriveLocationException
PublicFolderLocation = [array]$PolicyObject.PublicFolderLocation
PublicFolderLocation = [array]$PolicyObject.PublicFolderLocation.DisplayName
RestrictiveRetention = $PolicyObject.RestrictiveRetention
SharePointLocation = [array]$PolicyObject.SharePointLocation
SharePointLocation = [array]$PolicyObject.SharePointLocation.DisplayName
SharePointLocationException = $PolicyObject.SharePointLocationException
SkypeLocation = [array]$PolicyObject.SkypeLocation
SkypeLocation = [array]$PolicyObject.SkypeLocation.DisplayName
SkypeLocationException = $PolicyObject.SkypeLocationException
Credential = $Credential
}
Expand Down

0 comments on commit 5cb8d28

Please sign in to comment.