I am trying to configure SP farm, in Azure, following steps mention in this article - https://technet.microsoft.com/en-us/library/mt723354(v=office.16).aspx But after creating Sql VM('sqlVM' ), I am not able to add this to the AD domain.
Below error message is displayed while trying to connect to Domain.
PS C:\Users\anuvya> Add-Computer -DomainName "corp.contoso.com"
cmdlet Add-Computer at command pipeline position 1 Supply values for the following parameters: Add-Computer : Computer 'sqlVM' failed to join domain 'corp.contoso.com' from its current workgroup 'WORKGROUP' with following error message: The specified domain either does not exist or could not be contacted. At line:1 char:1 + Add-Computer -DomainName "corp.contoso.com" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (sqlVM:String) [Add-Computer], InvalidOperationException + FullyQualifiedErrorId : FailToJoinDomainFromWorkgroup,Microsoft.PowerShell.Commands.AddComputerComman
Any inputs will be appreciated.
Thanks,
====================