From ead133c28ba6857e4b03da19e90f3efc2c457953 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Fri, 30 Aug 2024 18:12:23 +0000 Subject: [PATCH] Updated {Create} EXO Integration Tests --- .../M365DSCIntegration.EXO.Create.Tests.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 index 4c95d77baf..f8f29f2774 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 @@ -885,6 +885,21 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } + EXOSweepRule 'MyRule' + { + ApplicationId = $ApplicationId; + CertificateThumbprint = $CertificateThumbprint; + DestinationFolder = "Test2:\Deleted Items"; + Enabled = $True; + Ensure = "Present"; + KeepLatest = 11; + Mailbox = "Test2"; + Name = "From Michelle"; + Provider = "Exchange16"; + SenderName = "michelle@fabrikam.com"; + SourceFolder = "Test2:\Inbox"; + TenantId = $TenantId; + } EXOTransportRule 'ConfigureTransportRule' { Name = "Ethical Wall - Sales and Executives Departments"