From b87963a51805cb190e06216f7b22527ef0a68d72 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Fri, 30 Aug 2024 18:12:47 +0000 Subject: [PATCH] Updated {Update} EXO Integration Tests --- .../M365DSCIntegration.EXO.Update.Tests.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 index 01140822ab..fb92ed7632 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 @@ -1227,6 +1227,21 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } + EXOSweepRule 'MyRule' + { + ApplicationId = $ApplicationId; + CertificateThumbprint = $CertificateThumbprint; + DestinationFolder = "Test2:\Deleted Items"; + Enabled = $True; + Ensure = "Present"; + KeepLatest = 13; # Drift + Mailbox = "Test2"; + Name = "From Michelle"; + Provider = "Exchange16"; + SenderName = "michelle@fabrikam.com"; + SourceFolder = "Test2:\Inbox"; + TenantId = $TenantId; + } EXOTransportConfig 'EXOTransportConfig ' { IsSingleInstance = "Yes";