diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 index d2945db555..e358dcdd8a 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 @@ -3055,6 +3055,31 @@ TenantId = $TenantId; CertificateThumbprint = $CertificateThumbprint; } + IntuneSecurityBaselineWindows10 'mySecurityBaselineWindows10' + { + DisplayName = 'test' + DeviceSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogDeviceSettings_IntuneSecurityBaselineWindows10 + { + Pol_MSS_DisableIPSourceRoutingIPv6 = '1' + DisableIPSourceRoutingIPv6 = '0' + BlockExecutionOfPotentiallyObfuscatedScripts = 'block' + HardenedUNCPaths_Pol_HardenedPaths = '1' + pol_hardenedPaths = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogpol_hardenedpaths{ + Key = '\\*\SYSVOL' + Value = 'RequireMutualAuthentication=1,RequireIntegrity=1' + } + ) + } + UserSettings = MSFT_MicrosoftGraphIntuneSettingsCatalogUserSettings_IntuneSecurityBaselineWindows10 + { + AllowWindowsSpotlight = '1' + } + Ensure = 'Present' + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } IntuneSettingCatalogASRRulesPolicyWindows10 'myASRRulesPolicy' { DisplayName = 'asr 2'