Skip to content

Commit

Permalink
Merge branch 'dev' into kajalp/Intune_DSC_AppleMDMPushCert
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajalp1079 committed Oct 27, 2024
2 parents 8cf6daf + 0c7490c commit b183e2b
Show file tree
Hide file tree
Showing 24 changed files with 4,334 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# UNRELEASED

* IntuneMobileThreatDefenseConnector
* Initial release.
* AADAccessReviewDefinition
* Initial release.
* AADAccessReviewPolicy
Expand All @@ -28,6 +30,9 @@
* Initial release.
* AzureBillingAccountsRoleAssignment
* Initial release.
* EXOArcConfig
* Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers`
when it has an array
* EXOMailboxAuditBypassAssociation
* Initial release.
* EXOTenantAllowBlockListItems
Expand All @@ -40,6 +45,8 @@
selected
* Fixed retrieval of resource when it cannot be found by `Id`
* Added a few verbose messages
* IntuneDeviceManagmentAndroidDeviceOwnerEnrollmentProfile
* Initial release.
* IntuneEndpointDetectionAndResponsePolicyWindows10
* Fixes an issue with `AutoFromConnector` as the Configuration package type.
FIXES [#5246](https://github.com/microsoft/Microsoft365DSC/issues/5246)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,17 @@ function Test-TargetResource
Write-Verbose -Message 'Testing configuration of Arc Config settings'

$CurrentValues = Get-TargetResource @PSBoundParameters
$ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone()

Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)"
Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)"

$ValuesToCheck = $PSBoundParameters

$ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck
# Need to remove Identity as Get-ArcConfig doesn't return Identity
$ValuesToCheck.Remove('Identity') | Out-Null

$PSBoundParameters.ArcTrustedSealers = $PSBoundParameters.ArcTrustedSealers -Join ','

Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)"
Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)"

$TestResult = Test-M365DSCParameterState -CurrentValues $CurrentValues `
-Source $($MyInvocation.MyCommand.Source) `
-DesiredValues $PSBoundParameters `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ function Test-TargetResource
Add-M365DSCTelemetryEvent -Data $data
#endregion

$ValuesToCheck = $PSBoundParameters
Write-Verbose -Message "Testing configuration of Intune Device Management Compliance Settings"

$CurrentValues = Get-TargetResource @PSBoundParameters
Expand Down
Loading

0 comments on commit b183e2b

Please sign in to comment.