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,230 points
1,721 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,440 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,090 points
7,023 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,090 points
4,462 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
2,488 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
16,222 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,230 points

edited Jun 21, 2023 by Khan Sarfaraz 853 views
0 votes
2 answers

Azure DevOps and its need?

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

answered Aug 29, 2020 in Azure by nbavis
• 380 points
986 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,230 points
692 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,230 points
1,877 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,440 points
1,220 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,440 points
408 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP