Skip to content
Azure Lessons
Azure Lessons
  • Home
  • AWS
  • Azure
    • Azure Virtual Machine
    • Azure Active Directory
    • Azure CLI
    • Azure CLI Commands List
    • Azure Cognitive Services
    • Azure Cosmos DB
    • Azure DevOps
    • Azure Functions
    • Azure PowerShell Commands
    • Azure Sentinel
    • Azure SQL
    • Azure Storage
    • Azure Synapse
  • Blogs
  • FREE EBOOK

Create a storage account in Azure

February 16, 2026February 21, 2024 by Rajkishore

This Azure article will discuss how to create Azure storage accounts using Azure Portal, PowerShell, and Azure CLI.

Table of Contents

  • How to create a storage account in Azure
    • Approach-1: Using Azure Portal
    • Approach-2: Using PowerShell
    • Approach-3: Using Azure CLI
    • Prerequisites
  • FAQs
    • Is Azure storage account IaaS or PaaS
    • What kind of NoSQL store are Azure table storage?
    • Which Azure storage service supports big data analytics, as well as handling text and binary data types?
    • How many storage accounts per Azure subscription
    • What is required to provision Azure data lake storage in an Azure storage account
  • Final Thoughts

How to create a storage account in Azure

Let us discuss all the approaches individually.

Approach-1: Using Azure Portal

To create a storage account in Azure, follow the below steps.

1. Log in to the Azure portal (https://portal.azure.com/)

2. Search for the Storage accounts (classic) and select it.

how to create a storage account in Azure

3. Click the + Add button from the Storage accounts (classic) window.

create a storage account azure

4. On the Create storage account window, Provide the below details in the Basics tab.

  • Subscription: Select your subscription details.
  • Resource group: Select your existing resource group or create a new one by clicking on the Create new link.
  • Storage account name: Provide a valid name for your storage account.
  • Location: Select the location you belong to.
  • Performance: Select the Standard option.
  • Account kind: You can use the default option or choose the appropriate one.
  • Replication: You can use the default option or choose the appropriate one.
  • Access tier(default): Select the default Hot or Cool options.

Click the Next: Networking > button to go to the Networking tab.

How to create a storage account Azure
How to create a storage account Azure portal

On the networking tab, keep the default option as it is. Click on the Next: Tags > button to go to the Tags tab

storage account in Azure

On the Tags tab no need to change anything. Click on the Next: Review + Create> button.

Storage account in Azure portal

Click on the Create button to create the storage account.

Create storage account

Now you can see it is deployed successfully

Create storage account in Azure

Approach-2: Using PowerShell

You can use the below PowerShell cmdlet to create a storage account using PowerShell.

$resourceGroup = 'newresgroup'
$location = 'East US'

New-AzStorageAccount -ResourceGroupName $resourceGroup `
  -Name mynewstroageaccount890 `
  -Location $location `
  -SkuName Standard_RAGRS `
  -Kind StorageV2

The name should be a unique name with all lowercase letters.

After executing the PowerShell script, the storage account was created successfully. See the below screenshot.

How to create a storage account in Azure using PowerShell

The SkuName parameter can be anything from below based on your business needs

Locally redundant storage as Standard_LRS, Zone-redundant storage (ZRS) as the Standard_ZRS, Geo-redundant storage (GRS) as the Standard_GRS, Read-access geo-redundant storage (GRS) as the Standard_RAGRS, etc

Now you can log in to the Azure portal and verify if the storage account was created

create a storage account in Azure using PowerShell

Approach-3: Using Azure CLI

Let’s discuss how to create a storage account using Azure CLI here. Before that, we should know the Prerequisites to create the storage account using Azure CLI.

Prerequisites

  1. The first and most important thing is having an Azure Subscription or Azure account. If you don’t have an Azure Account, Create an Azure free account now.
  2. You must have installed the Azure CLI on your machine. If you have not yet installed the Azure CLI on your machine, then install the Azure CLI on your machine now.

To ensure you have successfully installed the Azure CLI on your machine, you can open the command prompt and then run the command az. You can see below that “Welcome to Azure CLI!”.

How to create a storage account in Azure CLI

Now, assuming you are ready with all the prerequisites needed here, let’s start the actual functionality i.e., creating a storage account Azure CLI.

As a next step, you need to use the Az login command to log in to the Azure account using the Azure CLI.

create a storage account in azure cli

Now, it will prompt you to enter your Azure credentials to log in to the Azure account.

how to create a storage account Azure CLI

You can see the screen below once you have logged in to your Azure account.

Create a Storage Account Azure CLI

You can set a specific subscription using the below command if you have multiple subscriptions.

az account set –subscription “YourSubscriptionName”

In order to create a storage account, the first step is to create a Resource Group. Let’s create a resource group.

Create a Resource Group using Azure CLI

You can execute the below cmdlet to create the Resource Group using the Azure CLI

az group create --location eastus --name mynewresgrp1

Once you have executed the above command, you will get the output as below.

Create a Resource Group using Azure CLI

Now, you can see the Resource group has been created successfully.

Create a Resource Group Azure CLI

Now our Resource Group is ready, the next step is to Create Storage Account using Azure CLI.

Create a Storage Account using Azure CLI

You must execute the command below to create a storage account using the Azure CLI.


az storage account create --name demostoragesql9 --resource-group mynewresgrp1 --location eastus --sku Standard_LRS

Once we have executed the above command, you can see the below output.

Create Storage Account using Azure CLI

Logged in to Azure Portal and verified that the storage account has been created successfully. Check out the below screenshot.

Create a Storage Account using Azure CLI

This is how you can Create Storage Account using Azure CLI.

FAQs

Is Azure storage account IaaS or PaaS

Azure storage contains multiple services. From those, a few belong to IaaS and a few belong PaaS.

What kind of NoSQL store are Azure table storage?

Answer: key-value store

Which Azure storage service supports big data analytics, as well as handling text and binary data types?

Answer: Azure Blob Storage, Azure Data Lake Storage.

How many storage accounts per Azure subscription

Answer: By default, 250 storage accounts, but you can extend up to 500 storage accounts by increasing the quota.

What is required to provision Azure data lake storage in an Azure storage account

Answer: To enable a hierarchical namespace

Final Thoughts

This article discussed Azure storage accounts, Azure storage account types, and how to create Azure storage accounts using Azure Portal and PowerShell. Thanks for reading this article !!!

You can also like following the articles below

  • Azure Storage Account Connection String
  • What is Azure Storage Account Key
  • What is Azure NetApp Files
Microsoft Azure
Rajkishore

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.

Azure Function Timeout
New-AzStorageAccount
Subscribe To Our YouTube Channel Subscribe to AzureLessons YouTube Channel

Recent Posts

  • Azure Function TypeScript
  • Azure DevOps Pricing
  • Why is Azure So Expensive? The Areas You Are Neglecting and Their Solutions
  • Azure Active Directory Basic for Education
  • Azure Stack Edge
  • About Us
  • Contact Us
  • Privacy Policy
  • Sitemap
© 2026 Azure Lessons
Azure
Virtual
Machine
By: Rajkishore
Azure Consultant
PDF

Free 25+ page PDF

Download free Azure Virtual Machine PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!

No spam, ever. You will also get new Azure tutorials by email. Unsubscribe any time. Privacy policy

Check your inbox

Your Azure Virtual Machine PDF is on its way to . Can't find it in a few minutes? Look in your Promotions or Spam folder.