This Azure article will discuss how to create Azure storage accounts using Azure Portal, PowerShell, and Azure CLI.
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.

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

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.


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

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

Click on the Create button to create the storage account.

Now you can see it is deployed successfully

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 StorageV2The 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.

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
