Yes, you can determine the version of Azure AD Connect using PowerShell even without direct access to the local servers where Azure AD Connect is installed. You can use the Azure AD PowerShell module to remotely query information about your Azure AD Connect installation. Here's how you can do it:
Install Azure AD PowerShell Module:
If you haven't already, you'll need to install the Azure AD PowerShell module on your local machine. You can do this by running the following command in PowerShell as an administrator:
Install-Module -Name AzureAD
Connect to Azure AD:
After installing the module, you need to connect to your Azure AD account using the following command:
Connect-AzureAD
Retrieve Azure AD Connect Version:
Once connected, you can use the Get-AzureADConnectSyncConfiguration
cmdlet to retrieve information about your Azure AD Connect installation, including its version:
Get-AzureADConnectSyncConfiguration | Select-Object CurrentConnectorVersion
The CurrentConnectorVersion
property will display the version of Azure AD Connect that is currently configured.
Please note that the Azure AD PowerShell module focuses on Azure AD, and while it can provide information about Azure AD Connect, it might not provide as detailed information as querying the local server directly. Additionally, you'll need appropriate permissions to connect to Azure AD using PowerShell and retrieve the required information.
Remember that the Azure AD Connect version can impact various functionalities, so keeping it up to date is important for maintaining security and utilizing the latest features.