az vm create : Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4
See original GitHub issueAs I am trying out to create new VM using azure CLI, it is throwing error in my bash and command window as shown below
az vm create --resource-group "learnVMResourceGroup" --name "learnVM" --image UbuntuLTS --admin-username "learnadmin" --generate-ssh-keys
ERROR: Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4
Steps:
- Logged in to my account using
az login
- Trying to create vm using
az vm create --resource-group "learnVMResourceGroup" --name "learnVM" --image UbuntuLTS --admin-username "learnadmin" --generate-ssh-keys
Azure CLI Version : 2.34.1
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
python: Invalid base64-encoded string: number of data ...
python: Invalid base64-encoded string: number of data characters (5) cannot be 1 more than a multiple of 4 · Ask Question. Asked 3...
Read more >invalid base64-encoded string: number of data characters (17 ...
We'll show this source less for all searches. Invalid base64-encoded string: number of data characters (217) cannot be 1 more than a multiple...
Read more >Unable to create AKS Cluster from CLI - Microsoft Q&A
Invalid base64-encoded string : number of data characters (17) cannot be 1 more than a multiple of 4. I tried executing this command...
Read more >Issue 34736: Confusing base64.b64decode output
msg325757 ‑ (view) Author: Mark Dickinson (mark.dickinson) * Date: 2018‑09‑19 13:00
msg325844 ‑ (view) Author: Tal Einat (taleinat) * Date: 2018‑09‑20 05:42
msg325845 ‑ (view)...
Read more >base64: invalid input error when trying to decode contents of ...
base64.encoded.string.representing.the.original.yaml==" is even worse. Base64-encoding adds = signs for padding, but ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@piyushsh We are looking into it and get back to you for any additional information.
@zhoxing-ms It worked, so closing this issue. Thanks for the help.