As an Azure architect, I often get requirements to find storage account URLs in Azure. I have identified a few simple approaches to do this task. In this article, I will walk you through all those approaches on how to get storage account URL in Azure individually.
To Get Azure Storage Account URL, On the specific storage account page in Azure Portal, click on the Endpoints link under the Settings tab on the left navigation.
Table of Contents
How To Get Azure Storage Account URL
Let us discuss all the approaches individually.
Approach-1 Using the JSON view option
1. Log in to the Azure Portal.
2. Search for Storage accounts and then click on the search result in Storage accounts, as shown in the screenshot below.

3. Now, click on the specific storage account for the one you wish to see the storage account URL.

4. On the Overview tab, click on the JSON View link,

Scroll down to the PrimaryEndpoints section. The screenshot below shows the URLs of all storage accounts. You can copy those URLs.

Approach-2 Using the Endpoints option
1. Follow steps 1 to 3 in the above section.
2. On the specific storage account page, expand the Settings node and then click on the Endpoints option, as highlighted in the screenshot below. You can see all the storage account-type URLs and click the copy button highlighted below to copy the respective URL.

Approach-3: Using PowerShell
You can also execute the below PowerShell script to get the URL of your storage account.
Connect-AzAccount
$storageAccount = Get-AzStorageAccount -ResourceGroupName MyNewResGrp -Name alazureml7822510715
$storageAccount.PrimaryEndpoints.Blob
$storageAccount.PrimaryEndpoints.File
$storageAccount.PrimaryEndpoints.Dfs
$storageAccount.PrimaryEndpoints.Queue
$storageAccount.PrimaryEndpoints.Table
$storageAccount.PrimaryEndpoints.WebAfter executing the above script, I got the expected output, as shown below. Now copy the URL and use it wherever you wish to.

Approach-4: Using Azure CLI
You can also use the Azure CLI script below for this purpose.
az storage account show --resource-group MyNewResGrp --name alazureml7822510715 --query 'primaryEndpoints.blob'az storage account show --resource-group MyNewResGrp --name alazureml7822510715 --query 'primaryEndpoints.table'az storage account show --resource-group MyNewResGrp --name alazureml7822510715 --query 'primaryEndpoints.Queue'After executing the above query, I got the expected output below.

Video Tutorial
Conclusion
You can use Azure Portal, PowerShell, or Azure CLI to get the Azure storage account URL. You can use any of the approaches discussed in this article.
You may also like following the articles below.
- How to restore deleted storage account in Azure
- Create a storage account in Azure
- Get storage account connection string

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.
