fix: Removed banner from EXO connection step

This commit is contained in:
DrIOS
2024-06-23 11:46:00 -05:00
parent 39ba3c3ad7
commit 5ff2396218
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ The format is based on and uses the types of changes according to [Keep a Change
- Fixed test 1.3.1 to include notification window for password expiration. - Fixed test 1.3.1 to include notification window for password expiration.
- Fixed 6.1.1 test definition to include the correct connection. - Fixed 6.1.1 test definition to include the correct connection.
- Removed banner from EXO connection step.
### Added ### Added

View File

@@ -59,7 +59,7 @@ function Connect-M365Suite {
if ($RequiredConnections -contains "EXO" -or $RequiredConnections -contains "AzureAD | EXO" -or $RequiredConnections -contains "Microsoft Teams | EXO" -or $RequiredConnections -contains "EXO | Microsoft Graph") { if ($RequiredConnections -contains "EXO" -or $RequiredConnections -contains "AzureAD | EXO" -or $RequiredConnections -contains "Microsoft Teams | EXO" -or $RequiredConnections -contains "EXO | Microsoft Graph") {
Write-Host "Connecting to Exchange Online..." -ForegroundColor Cyan Write-Host "Connecting to Exchange Online..." -ForegroundColor Cyan
Connect-ExchangeOnline | Out-Null Connect-ExchangeOnline -ShowBanner $false | Out-Null
$exoTenant = (Get-OrganizationConfig).Identity $exoTenant = (Get-OrganizationConfig).Identity
$tenantInfo += [PSCustomObject]@{ $tenantInfo += [PSCustomObject]@{
Service = "Exchange Online" Service = "Exchange Online"