0
我用下面的命令來實現它:自動化Azure中的Active Directory的使用命令行部署
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/active-directory-new-domain/azuredeploy.json
此鏈接有一個模板,做它:
https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/active-directory-new-domain/azuredeploy.json
我跑了好但顯示此錯誤:
info: Resource 'adVM/CreateADForest' of type 'Microsoft.Compute/virtualMachines/extensions' provisioning status is Running
info: Resource 'adVM' of type 'Microsoft.Compute/virtualMachines' provisioning status is Succeeded
info: Resource 'adNic' of type 'Microsoft.Network/networkInterfaces' provisioning status is Succeeded
info: Resource 'adLoadBalancer' of type 'Microsoft.Network/loadBalancers' provisioning status is Succeeded
info: Resource 'csyh7daynrjiaadsa' of type 'Microsoft.Storage/storageAccounts' provisioning status is Succeeded
info: Resource 'adPublicIP' of type 'Microsoft.Network/publicIPAddresses' provisioning status is Succeeded
info: Resource 'adAvailabiltySet' of type 'Microsoft.Compute/availabilitySets' provisioning status is Succeeded
info: Resource 'VNet' of type 'Microsoft.Resources/deployments' provisioning status is Succeeded
info: Resource 'adVNET' of type 'Microsoft.Network/virtualNetworks' provisioning status is Succeeded
error: getaddrinfo ENOTFOUND management.azure.com management.azure.com:443
ApplicationInsights:Sender [ { [Error: getaddrinfo ENOENT dc.services.visualstudio.com:80]
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'getaddrinfo',
hostname: 'dc.services.visualstudio.com',
host: 'dc.services.visualstudio.com',
port: 80 } ]
error: Error information has been recorded to C:\Users\admin\.azure\azure.err
error: group deployment create command failed
擴展部分失敗。任何人都可以告訴我現在必須做什麼?