quickstart-microsoft-sql icon indicating copy to clipboard operation
quickstart-microsoft-sql copied to clipboard

Node1Config.ps1 run failed

Open AbdelrahmanElhais-rackspace opened this issue 4 years ago • 2 comments

When running this cloudformation template https://fwd.aws/d3wqB? It fails at the step Node1wConfig specially when start running the configuration generated from Node1wMof (Node1Config.ps1 ) with this error :

PowerShell DSC resource MSFT_GroupResource failed to execute Set-TargetResource functionality with error message: Exception calling "Add" with "1" argument(s): "The network path was not found. " + CategoryInfo : InvalidOperation: (:) [], CimException + FullyQualifiedErrorId : ProviderOperationExecutionFailure + PSComputerName : localhost

The SendConfigurationApply function did not succeed. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : MI RESULT 1 + PSComputerName : localhost

Steps to reproduce the issue :

  • I have created the vpc with two private subnets and two public subnets
  • I have created AWS managed AD located on the private subnets -I created a route53 outbound resolver to forward the requests coming to the domain name to the generated AD IPs
  • I run the cloud formation and set the parameters and when coming to step Node1wConfig , it fails with the above issue

I did do some investigations on the the configuration file generated after running Node1Config.ps1 and I see when deleted MembersToInclude in the instance MSFT_GroupResource it is running without errors but we need to add this attribute

here is the generated configuration file that is generated after running Node1Config.ps1

generatedcong.txt