配置主机池加入域失败

问题描述 投票:0回答:1

我对天青完全陌生,我的目的是测试一下以验证是否有价值。

我的目标是出于介绍的原因,目前将桌面虚拟化。

因此,我启动了一个天蓝色的免费帐户,按照启动天蓝色的AD域服务的第一步,之后,我尝试添加新的资源以通过配置主机池来创建虚拟机。

无法给我一个数组joindomain设置失败。

我只是在azure文档之后通过门户网站完成此操作,直到创建一个租户,我当然也使用了PS命令,之后我按照介绍创建了一个主机池。我使用了一个新的资源组和现有的vnet。

这里还有门户网站给我下载的脚本:

{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
    "virtualMachines_acme_0_name": {
        "defaultValue": "acme-0",
        "type": "String"
    },
    "availabilitySets_ACME_AVAILABILITYSET_externalid": {
        "defaultValue": "/subscriptions/c7c46e95-26bf-4666-a146-9427080e4ee2/resourceGroups/ACME/providers/Microsoft.Compute/availabilitySets/ACME-AVAILABILITYSET",
        "type": "String"
    },
    "disks_acme_0_OsDisk_1_86a929acf8b14d85b34543064a89be09_externalid": {
        "defaultValue": "/subscriptions/c7c46e95-26bf-4666-a146-9427080e4ee2/resourceGroups/ACME/providers/Microsoft.Compute/disks/acme-0_OsDisk_1_86a929acf8b14d85b34543064a89be09",
        "type": "String"
    },
    "networkInterfaces_acme_0_nic_externalid": {
        "defaultValue": "/subscriptions/c7c46e95-26bf-4666-a146-9427080e4ee2/resourceGroups/ACME/providers/Microsoft.Network/networkInterfaces/acme-0-nic",
        "type": "String"
    }
},
"variables": {},
"resources": [
    {
        "type": "Microsoft.Compute/virtualMachines",
        "apiVersion": "2019-07-01",
        "name": "[parameters('virtualMachines_acme_0_name')]",
        "location": "southcentralus",
        "properties": {
            "availabilitySet": {
                "id": "[parameters('availabilitySets_ACME_AVAILABILITYSET_externalid')]"
            },
            "hardwareProfile": {
                "vmSize": "Standard_B1ms"
            },
            "storageProfile": {
                "imageReference": {
                    "publisher": "MicrosoftWindowsDesktop",
                    "offer": "office-365",
                    "sku": "19h2-evd-o365pp",
                    "version": "latest"
                },
                "osDisk": {
                    "osType": "Windows",
                    "name": "[concat(parameters('virtualMachines_acme_0_name'), '_OsDisk_1_86a929acf8b14d85b34543064a89be09')]",
                    "createOption": "FromImage",
                    "caching": "ReadWrite",
                    "managedDisk": {
                        "storageAccountType": "Standard_LRS",
                        "id": "[parameters('disks_acme_0_OsDisk_1_86a929acf8b14d85b34543064a89be09_externalid')]"
                    },
                    "diskSizeGB": 127
                },
                "dataDisks": []
            },
            "osProfile": {
                "computerName": "[parameters('virtualMachines_acme_0_name')]",
                "adminUsername": "chris",
                "windowsConfiguration": {
                    "provisionVMAgent": true,
                    "enableAutomaticUpdates": true
                },
                "secrets": [],
                "allowExtensionOperations": true,
                "requireGuestProvisionSignal": true
            },
            "networkProfile": {
                "networkInterfaces": [
                    {
                        "id": "[parameters('networkInterfaces_acme_0_nic_externalid')]"
                    }
                ]
            },
            "diagnosticsProfile": {
                "bootDiagnostics": {
                    "enabled": false
                }
            },
            "licenseType": "Windows_Client"
        }
    }
]

}

这是扩展名/ joindomain中的错误

[
{
    "code": "ComponentStatus/JoinDomainException for Option 3 meaning 'User Specified'/failed/1",
    "level": "Error",
    "displayStatus": "Provisioning failed",
    "message": "ERROR - Failed to join domain='cheyenneitoutlook.onmicrosoft.com', ou='', user='[email protected]', option='NetSetupJoinDomain, NetSetupAcctCreate' (#3 meaning 'User Specified'). Error code 1355"
},
{
    "code": "ComponentStatus/JoinDomainException for Option 1 meaning 'User Specified without NetSetupAcctCreate'/failed/1",
    "level": "Error",
    "displayStatus": "Provisioning failed",
    "message": "ERROR - Failed to join domain='cheyenneitoutlook.onmicrosoft.com', ou='', user='[email protected]', option='NetSetupJoinDomain' (#1 meaning 'User Specified without NetSetupAcctCreate'). Error code 1355"
}

]

任何解释方面的帮助,都应感谢。

azure azure-active-directory
1个回答
0
投票

您的VMS无法找到或连接到Azure AD DS托管域。看一下Connectivity issues for domain-joinConnectivity issues

© www.soinside.com 2019 - 2024. All rights reserved.