RequiredArgumentMissingError the following arguments are required --location -l in Azure

0 votes

Hi Team,

I am trying to create a group in Azure with the CLI command. But it is showing me the below error.

$ az group create -n MyResourceGroup
RequiredArgumentMissingError: the following arguments are required: --location/-l
Nov 10, 2020 in Azure by akhtar
• 38,180 points
343 views

1 answer to this question.

0 votes

Hi@akhtar,

Group in Azure is region-specific. You need to tell where you want to create the group. You can take help with the az group --help command or, you can modify your command, as shown below.

$ az group create -l westus -n MyResourceGroup
answered Nov 10, 2020 by MD
• 95,240 points

Related Questions In Azure

0 votes
2 answers

In Azure powershell Select-AzureSubscription command fetching error: the subscription name doesn't exist

The problem you're having is that the ...READ MORE

answered Aug 16, 2018 in Azure by Priyaj
• 58,120 points
5,072 views
0 votes
2 answers

How can I view the deployed files in Azure?

In Visual Studio, in the window "Server ...READ MORE

answered Aug 21, 2018 in Azure by Priyaj
• 58,120 points
2,433 views
0 votes
1 answer

Are Docker and Azure Service Fabric both the same?

It's confusing since Docker (the company) is ...READ MORE

answered Jun 1, 2018 in Azure by null_void
• 3,220 points
1,546 views
+1 vote
10 answers

How can the NuGet packages be used in Azure Functions?

Yes! Although the Azure Functions portal does ...READ MORE

answered Jun 8, 2018 in Azure by club_seesharp
• 3,450 points
11,894 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
273 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
391 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
246 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,090 points
1,155 views
0 votes
1 answer

error retrieving default location: Resource group 'MyResourceGroup' could not be found in Azure.

Hi@akhtar, I think you don't have the group ...READ MORE

answered Nov 10, 2020 in Azure by MD
• 95,240 points
473 views
0 votes
1 answer

How to set the subcription in the Azure account?

Hi@akhtar, You can set your required subscription to ...READ MORE

answered Nov 10, 2020 in Azure by MD
• 95,240 points
52 views