Pranav Raj
Pranav Raj

Reputation: 873

Azure DevTest lab : ResourceGroupNotFound error

I am trying to create a VM out of a custom image in dev test lab using az lab vm create .. command.

I end up getting an error :

Message: Resource group '.....' could not be found.

I made sure that the resource group name I am passing in, is the same as the one which is listed under "Resource Group" in the lab's Overview tab.

What am I doing wrong?

Upvotes: 1

Views: 645

Answers (1)

4c74356b41
4c74356b41

Reputation: 72191

In this case the az was setup to use another subscription, changing the subscription fixed the issue

Upvotes: 0

Related Questions