Missing ADWS when deploying Azure Stack HCI

Daniel SHEN 5 Reputation points
2024-06-06T09:53:50.7633333+00:00

Hi,

I encounter such an error during the validation of Azure Stack HCI cluster deployment, please advise how can I troubleshoot, thanks!

Type 'InvokeEnvironmentChecker' of Role 'DeploymentService' raised an exception: Fail to initialize cloud deployment: Unable to find a default server with Active Directory Web Services running..ToString() Command Arguments ------- --------- Initialize-CloudDeployment.ps1 {JSONFilePath=C:\Deployment\Unattended.json, RegistrationResourceGroupName=DFS-SIN-LZ-... {} <ScriptBlock> {CloudEngine.Configurations.EceInterfaceParameters, DeploymentService, InvokeEnvironme... Invoke-EceInterfaceInternal {CloudDeploymentModulePath=C:\NugetStore\Microsoft.AzureStack.Solution.Deploy.CloudDep... at Trace-Error, C:\CloudDeployment\Common\Tracer.psm1: line 63 at <ScriptBlock>,

User's image

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
295 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,095 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points
    2024-06-11T02:51:41.2633333+00:00

    Hello Daniel SHEN

    As you have confirmed that there is a firewall in between it is possible that you have not opened up all the necessary ports which are listed here:  https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd772723(v=ws.10)?redirectedfrom=MSDN#communication-to-domain-controllers

    You will note one of those ports is 9389 which is the AD DS Web Services port.  Note for the RPC ports you may want to scope that down.

    Hope this helps