diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b89a9c8f2..f65de7a463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change log for Microsoft365DSC +# UNRELEASED + +* DefenderDeviceAuthenticatedScanDefinition + * Fixed the Data Type export. +* MISC + * DEFENDER + * Added support for the UseBasicParsing paramter for REST calls. + # 1.24.1218.1 * AADApplication diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_DefenderDeviceAuthenticatedScanDefinition/MSFT_DefenderDeviceAuthenticatedScanDefinition.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_DefenderDeviceAuthenticatedScanDefinition/MSFT_DefenderDeviceAuthenticatedScanDefinition.psm1 index 70b2391927..0c3135890c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_DefenderDeviceAuthenticatedScanDefinition/MSFT_DefenderDeviceAuthenticatedScanDefinition.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_DefenderDeviceAuthenticatedScanDefinition/MSFT_DefenderDeviceAuthenticatedScanDefinition.psm1 @@ -146,8 +146,8 @@ function Get-TargetResource else { $ScanAuthenticationParamsValue = @{ - '@odata.context' = '#microsoft.windowsDefenderATP.api.SnmpAuthParams' - Type = 'NoAuthNoPriv' + DataType = '#microsoft.windowsDefenderATP.api.SnmpAuthParams' + Type = 'NoAuthNoPriv' } } diff --git a/Modules/Microsoft365DSC/Modules/WorkloadHelpers/M365DSCDefenderHelper.psm1 b/Modules/Microsoft365DSC/Modules/WorkloadHelpers/M365DSCDefenderHelper.psm1 index df62ffcf32..c677bfaeb1 100644 --- a/Modules/Microsoft365DSC/Modules/WorkloadHelpers/M365DSCDefenderHelper.psm1 +++ b/Modules/Microsoft365DSC/Modules/WorkloadHelpers/M365DSCDefenderHelper.psm1 @@ -24,7 +24,8 @@ function Invoke-M365DSCDefenderREST $response = Invoke-WebRequest -Method $Method ` -Uri $Uri ` -Headers $headers ` - -Body $bodyJSON + -Body $bodyJSON ` + -UseBasicParsing $result = ConvertFrom-Json $response.Content return $result }