Skip to content

AZ CLI VM Error #31369

@Ibrahimgasali

Description

@Ibrahimgasali

Describe the bug

az vm create : Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4

Related command

vm create --resource-group AzureCLIDemoGroup --name AzureCLIDemoVM --image Ubuntu2204 --size Standard_B1s --admin-username azureuser --generate-ssh-keys --public-ip-sku Standard --nic-delete-option Delete --os-disk-delete-option Delete --output jsonc

Errors

Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4

Issue script & Debug output

Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4

Expected behavior

VM should be created via CLI

Environment Summary

"azure-cli": "2.71.0",
"azure-cli-core": "2.71.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotPossible-SolutionSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions