Skip to content

Commit

Permalink
Merge pull request #3817 from NikCharlebois/FIXES-#3721
Browse files Browse the repository at this point in the history
Fixes #3712
  • Loading branch information
NikCharlebois authored Oct 19, 2023
2 parents a6d17fd + 9be4392 commit 4e6d1f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* AADConditionalAccessPolicy
* Adds support for Authentication Context.
FIXES [#3813](https://github.com/microsoft/Microsoft365DSC/issues/3813)
* TeamsComplianceRecordingPolicy
* Fixes an issue where the Compliance Application ID wasn't properly retrieved.
FIXES [#3712](https://github.com/microsoft/Microsoft365DSC/issues/3712)

# 1.23.1018.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Get-TargetResource
Write-Verbose -Message "Found an instance with Identity {$Identity}"
$results = @{
Identity = $instance.Identity
ComplianceRecordingApplications = $instance.ComplianceRecordingApplications
ComplianceRecordingApplications = [Array]$instance.ComplianceRecordingApplications.Id
Description = $instance.Description
DisableComplianceRecordingAudioNotificationForCalls = $instance.DisableComplianceRecordingAudioNotificationForCalls
Enabled = $instance.Enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
Description = 'FakeStringValue'
Enabled = $True
DisableComplianceRecordingAudioNotificationForCalls = $True
ComplianceRecordingApplications = 'FakeStringValue'
ComplianceRecordingApplications = @{Id='FakeStringValue'}
Identity = 'FakeStringValue'

}
Expand Down Expand Up @@ -147,7 +147,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
Description = 'FakeStringValue'
Enabled = $True
DisableComplianceRecordingAudioNotificationForCalls = $True
ComplianceRecordingApplications = 'FakeStringValue'
ComplianceRecordingApplications = @{Id='FakeStringValue'}
Identity = 'FakeStringValue'

}
Expand Down Expand Up @@ -175,10 +175,10 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
Mock -CommandName Get-CsTeamsComplianceRecordingPolicy -MockWith {
return @{
WarnUserOnRemoval = $False
Description = 'FakeStringValueDrift #Drift'
Description = 'FakeStringValueDrift' #Drift
Enabled = $False
DisableComplianceRecordingAudioNotificationForCalls = $False
ComplianceRecordingApplications = 'FakeStringValueDrift #Drift'
ComplianceRecordingApplications = @{Id='FakeStringValueDrift'} #Drift
Identity = 'FakeStringValue'
}
}
Expand Down Expand Up @@ -212,7 +212,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
Description = 'FakeStringValue'
Enabled = $True
DisableComplianceRecordingAudioNotificationForCalls = $True
ComplianceRecordingApplications = 'FakeStringValue'
ComplianceRecordingApplications = @{Id='FakeStringValue'}
Identity = 'FakeStringValue'

}
Expand Down

0 comments on commit 4e6d1f0

Please sign in to comment.