Skip to content

VM Create requires password with SSH #228

Description

az vm create -n Demo513VM -g Demo513 --ssh-dest-key-path ~/.ssh/id_rsa.pub --admin-username ops -l westus --debug

msrest.http_logger : Response content:
msrest.http_logger : {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see http://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see http://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "BadRequest",\r\n "message": "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"target\": \"adminPassword\",\r\n \"message\": \"Required parameter 'adminPassword' is missing (null).\"\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}}
msrest.exceptions : Long running operation failed with status 'Failed'
Long running operation 'Creating virtual machine' polling now
Long running operation failed with status 'Failed'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions