microsoft / vscode-azurevirtualmachines

Azure Virtual Machines extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurevirtualmachines
MIT License
32 stars 20 forks source link

IDK #224

Closed deoxicit closed 3 years ago

deoxicit commented 3 years ago

Does this occur consistently? Repro steps:

1.i have credits in my account but cant use a virtual machine 2.have two subscription but are disabled

Action: azureVirtualMachines.createVirtualMachineAdvanced Error type: MissingSubscriptionRegistration Error Message: The subscription is not registered to use namespace 'Microsoft.Compute'. See https://aka.ms/rps-not-found for how to register subscriptions.

Version: 0.3.0 OS: win32 OS Release: 10.0.18363 Product: Visual Studio Code Product Version: 1.54.3 Language: en

Call Stack ``` new RestError extension.bundle.js:16:21586 extension.bundle.js:16:129786extension.bundle.js:16:129786 processTicksAndRejections task_queues.js:97:5 ```
nturinski commented 3 years ago

If you follow the steps here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types, you should be able to register Microsoft.Compute and resolve your issue.

Please reopen if that doesn't resolve your issue!

Dupe of https://github.com/microsoft/vscode-azurevirtualmachines/issues/212