From b05cd2a629e5cdf191ce595a2d8fa5e7a9140468 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Tue, 31 Oct 2023 09:06:40 +0100 Subject: [PATCH] Fix IntuneDeviceCleanupRule example --- .../Resources/IntuneDeviceCleanupRule/1-SetDeviceCleanupRule.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceCleanupRule/1-SetDeviceCleanupRule.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceCleanupRule/1-SetDeviceCleanupRule.ps1 index e309830206..5299c98ef4 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceCleanupRule/1-SetDeviceCleanupRule.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceCleanupRule/1-SetDeviceCleanupRule.ps1 @@ -16,6 +16,7 @@ Configuration Example IntuneDeviceCleanupRule 'Example' { Enabled = $true + IsSingleInstance = 'Yes' DeviceInactivityBeforeRetirementInDays = 30 Ensure = 'Present' Credential = $credsGlobalAdmin