Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where Set-TargetResource was failing to apply when Verbose is set #4498

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Fix issue with deploying/creating a new AU with members and/or adding members to an existing AU
FIXES [#4404](https://github.com/microsoft/Microsoft365DSC/issues/4404)
* Updated examples to include setting Visibility and ScopedRoleMembers
* Fix issue with Set-TargetResource was failing to apply when Verbose is set
FIXES [#4497](https://github.com/microsoft/Microsoft365DSC/issues/4497)
* All resources
* Fix issue where Ensure cannot be left as default 'Present'
* AADAdministrativeUnit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ function Set-TargetResource
$PSBoundParameters.Remove('TenantId') | Out-Null
$PSBoundParameters.Remove('CertificateThumbprint') | Out-Null
$PSBoundParameters.Remove('ManagedIdentity') | Out-Null
$PSBoundParameters.Remove('Verbose') | Out-Null

$backCurrentMembers = $currentInstance.Members
$backCurrentScopedRoleMembers = $currentInstance.ScopedRoleMembers
Expand Down
Loading