Bin/ADSyncDiagnostics/PSScripts/ADSyncConnectivityDiagnostics.ps1

#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
#-------------------------------------------------------------------------

Function Test-ADSyncAzureActiveDirectoryConnectivity
{
    if ($isNonInteractiveMode)
    {
        return
    }

    Write-host "`r`n"

    $aadConnector = Get-ADSyncConnector | where { $_.Subtype -eq 'Windows Azure Active Directory (Microsoft)' }

    if ($aadConnector)
    {
        Write-Host  "Testing Azure connectivity for connector '$($aadConnector.Name)'"

        Test-AdSyncAzureServiceConnectivity -Domain ($aadConnector.ConnectivityParameters['UserName'].Value -split "@")[1] -ErrorVariable testErrors

        if (!($testErrors))
        {
            Write-host "`r`n"
            Write-Host "No connection issues detected"
        }
    }
    else
    {
        Write-Host "No Azure Active Directory connector was detected"
    }
}

Function Test-ADSyncActiveDirectoryConnectivity
{
    if ($isNonInteractiveMode)
    {
        return
    }

    Write-Host "`r`n"

    $forestType = [System.Management.Automation.Host.ChoiceDescription[]] @("&Already Connected Forest", "&New Forest to Configure")
    $forestTypeChoice = $host.UI.PromptForChoice("Current Configuration Status", "Would you like to test a forest that already has a connector configured or a forest that does not have a connector?", $forestType, 0)

    if ($forestTypeChoice)
    {
        # This option makes use of the ADConnectivityTool module included with the product
        Try
        {
            $aadConnectRegKey = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Azure AD Connect"
            $aadConnectWizardPath = $aadConnectRegKey.WizardPath
            $aadConnectWizardFileName = "AzureADConnect.exe"
            $aadConnectPathLength = $aadConnectWizardPath.IndexOf($aadConnectWizardFileName)
            $aadConnectPath = $aadConnectWizardPath.Substring(0, $aadConnectPathLength)
            $adConnectivityToolModulePath = [System.IO.Path]::Combine($aadConnectPath, "Tools\ADConnectivityTool.psm1")
            Import-Module $adConnectivityToolModulePath -ErrorAction Stop
        }
        Catch
        {
            Write-Host "[ERROR]`t Importing the ADConnectivityTool module failed."
            Exit 1
        }

        Write-Host "`r`n"
        $forestToTest = Read-Host "Name of the forest to test connectivity"

        $accountType = [System.Management.Automation.Host.ChoiceDescription[]] @("&Auto create account", "&Use existing account")
        $accountTypeChoice = $host.UI.PromptForChoice("Connector Account Type", "Are you letting the Wizard auto create the connector account or using an existing account?", $accountType, 0)

        Start-ConnectivityValidation -Forest $forestToTest -AutoCreateConnectorAccount (-not $accountTypeChoice)
    }
    else
    {
        $adConnectors = Get-ADSyncConnector | where {$_.ConnectorTypeName -eq 'AD'}

        $selectedConnector = $null

        while ($selectedConnector -eq $null)
        {
            Write-Host "`r`n"
            Write-Host "Configured Active Directory Connectors:"

            ForEach ($connector in $adConnectors)
            {
                Write-Host $connector.Name
            }

            Write-Host "`r`n"
            $connectorSelection = Read-Host "Name of the connector to test connectivity"

            if ($adConnectors.Name -contains $connectorSelection)
            {
                $selectedConnector = $adConnectors | Where-Object { $_.Name -like $connectorSelection }
            }
            else
            {
                Write-Host "`r`n"
                ReportWarning "'$connectorSelection' is not a configured connector. Please try again!"
            }
        }
        
        Write-Host "`r`n"
        Test-ADSyncADDSConnectivity -ConnectorIdentifier $selectedConnector.Identifier -Verbose
    }
}
# SIG # Begin signature block
# MIInogYJKoZIhvcNAQcCoIInkzCCJ48CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCA7Tc31dxUcRlhw
# sY7SG2RCyxAYdJozWGsfP/4kn839zKCCDYIwggYAMIID6KADAgECAhMzAAADXJXz
# SFtKBGrPAAAAAANcMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmc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