fix: connections in helper csv and connect function
This commit is contained in:
@@ -30,7 +30,7 @@ function Connect-M365Suite {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($RequiredConnections -contains "EXO" -or $RequiredConnections -contains "AzureAD | EXO" -or $RequiredConnections -contains "Microsoft Teams | EXO") {
|
if ($RequiredConnections -contains "EXO" -or $RequiredConnections -contains "AzureAD | EXO" -or $RequiredConnections -contains "Microsoft Teams | EXO" -or $RequiredConnections -contains "AzureAD | 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 | Out-Null
|
||||||
Write-Host "Successfully connected to Exchange Online." -ForegroundColor Green
|
Write-Host "Successfully connected to Exchange Online." -ForegroundColor Green
|
||||||
|
Reference in New Issue
Block a user