Skip to content

Commit

Permalink
Merge pull request #4220 from ricmestre/fix4219
Browse files Browse the repository at this point in the history
TeamsEmergencyCallRoutingPolicy: Fix deletion of resource
  • Loading branch information
NikCharlebois authored Jan 24, 2024
2 parents c562f3f + d7e7fa9 commit bea553a
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 @@ -89,6 +89,9 @@
* Fix CIM instances comparison in Test-TargetResource and export
CompliantAppsList with the correct type
FIXES [#4144](https://github.com/microsoft/Microsoft365DSC/issues/4144)
* TeamsEmergencyCallRoutingPolicy
* Fix deletion of resource
FIXES [#4219](https://github.com/microsoft/Microsoft365DSC/issues/4219)
* DEPENDENCIES
* Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.178.
* Updated MSCloudLoginAssistant to version 1.1.7.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function Set-TargetResource
elseif ($Ensure -eq 'Absent' -and $CurrentValues.Ensure -eq 'Present')
{
Write-Verbose -Message "Removing existing Teams Emergency Calling Policy {$Identity}"
Remove-CsTeamsEmergencyCallingPolicy -Identity $Identity -Confirm:$false
Remove-CsTeamsEmergencyCallingPolicy -Identity $Identity
}
}

Expand Down

0 comments on commit bea553a

Please sign in to comment.