diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 index 6ef76d1f08..b1c89d5d9f 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 @@ -1345,6 +1345,20 @@ SourceFolder = "Test2:\Inbox"; TenantId = $TenantId; } + EXOTenantAllowBlockListItems 'Example' + { + ApplicationId = $ApplicationId; + CertificateThumbprint = $CertificateThumbprint; + TenantId = $TenantId; + Action = "Block"; + Ensure = "Present"; + ExpirationDate = "10/11/2024 9:00:00 PM"; + ListSubType = "Tenant"; + ListType = "Sender"; + Notes = "Test block with updated notes"; + SubmissionID = "Non-Submission"; + Value = "example.com"; + } EXOTransportConfig 'EXOTransportConfig ' { IsSingleInstance = "Yes"; @@ -1373,20 +1387,6 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } - EXOTenantAllowBlockListItems "TenantAllowBlowListItem" - { - ApplicationId = $ApplicationId; - CertificateThumbprint = $CertificateThumbprint; - TenantId = $TenantId; - Action = "Block"; - Ensure = "Present"; - ExpirationDate = "10/11/2024 9:00:00 PM"; - ListSubType = "Tenant"; - ListType = "Sender"; - Notes = "Test block - Updated"; # Updated Property - SubmissionID = "Non-Submission"; - Value = "example.com"; - } EXOTransportRule 'ConfigureTransportRule' { Name = "Ethical Wall - Sales and Executives Departments"