{"id":13158,"date":"2020-07-23T17:26:19","date_gmt":"2020-07-23T17:26:19","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=13158"},"modified":"2022-03-14T11:03:29","modified_gmt":"2022-03-14T11:03:29","slug":"creating-an-azure-storage-account","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/","title":{"rendered":"Creating an Azure Storage Account"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n\n\n\n<p>An Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks. The storage account creates a unique namespace for your Azure Storage data, which is accessible through HTTP or HTTPS from anywhere in the globe. Your Azure Storage account&#8217;s data is long-lasting and highly accessible, as well as secure and enormously expandable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites to Create Storage Account<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>For Portal &#8211; No prerequisites to create storage account<\/li><li>And, for PowerShell &#8211; To create an Azure storage account with PowerShell, make sure you have installed Azure PowerShell module Az version 0.7 or later.\u00a0<\/li><li>For Azure CLI &#8211; You can sign in to Azure and run Azure CLI commands in one of two ways &#8211; You can run CLI commands from within the Azure portal, in Azure Cloud Shell and also You can install the CLI and run CLI commands locally.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Steps to Create Storage Account<\/strong> <\/h3>\n\n\n\n<p>An Azure resource group is required for each storage account. A resource group is a logical container for storing and organising Azure services. When you create a storage account, you may choose to create a new resource group or utilise one that already exists. This article will walk you through the process of creating a new resource group.<\/p>\n\n\n\n<p>All Azure Storage services, including blobs, files, queues, tables, and discs, are accessible through a general-purpose v2 storage account. The methods below create a general-purpose v2 storage account, although they are equivalent for any sort of storage account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Creating Storage Account using Portal<\/strong><\/h4>\n\n\n\n<p>To create a general-purpose v2 storage account in the Azure portal, follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>On the Azure portal menu, select All services. In the list of resources, type Storage Accounts. As you begin typing, the list filters based on your input. Select Storage Accounts.<\/li><li>On the Storage Accounts window that appears, choose Add.<\/li><li>Select the subscription in which to create the storage account.<\/li><li>Under the Resource group field, select Create new. Enter a name for your new resource group, as shown in the following image.<\/li><li>Next, enter a name for your storage account. The name you choose must be unique across Azure. The name also must be between 3 and 24 characters in length and can include numbers and lowercase letters only.<\/li><li>Select a location for your storage account, or use the default location.<\/li><li>Leave these fields set to their default value<\/li><li>If you plan to use Azure Data Lake Storage, choose the Advanced tab, and then set Hierarchical namespace to Enabled.<\/li><li>Select Review + Create to review your storage account settings and create the account.<\/li><li>Select Create.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" alt=\"Practice Test for AZ-104\"\/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Creating Storage Account using PowerShell<\/strong><\/h4>\n\n\n\n<p>To begin, use PowerShell to establish a new resource group using the New-AzResourceGroup command. Save the resource group name in a variable so you may reuse it in the future without having to hard-code it.<\/p>\n\n\n\n<p>$resourceGroup = &#8220;storage-resource-group&#8221;<br>$location = &#8220;westus&#8221;<br>New-AzResourceGroup -Name $resourceGroup -Location $location<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Creating Storage Account using Azure CLI<\/strong><\/h4>\n\n\n\n<p>First, create a new resource group with Azure CLI using the az group create command.<br>az group create \\<br>&#8211;name storage-resource-group \\<br>&#8211;location westus<\/p>\n\n\n\n<p>If you&#8217;re not sure which region to specify for the &#8211;location parameter, you can retrieve a list of supported regions for your subscription with the az account list-locations command.<\/p>\n\n\n\n<p>az account list-locations \\<br>&#8211;query &#8220;[].{Region:name}&#8221; \\<br>&#8211;out table<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"delete-a-storage-account\"><strong>Delete a storage account<\/strong><\/h3>\n\n\n\n<p>Deleting a storage account deletes the entire account, including all data in the account, and cannot be undone.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For Portal &#8211; Navigate to the storage account in the Azure portal and Click Delete.<\/li><li>And, for PowerShell &#8211; To delete the storage account, use the\u00a0Remove-AzStorageAccount\u00a0command &#8211; Remove-AzStorageAccount -Name -ResourceGroupName<\/li><li>For Azure CLI &#8211; To delete the storage account, use the az storage account delete command &#8211; az storage account delete &#8211;name &#8211;resource-group<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-online-course\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/testpreptraining.ai-2-1-750x117.png\" alt=\"AZ-104 Online Course\" class=\"wp-image-12856\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/common\/storage-account-create?tabs=azure-portal\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentatio<\/a><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noreferrer noopener\">n<\/a><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to AZ-104 Tutorial An Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks. The storage account creates a unique namespace for your Azure Storage data, which is accessible through HTTP or HTTPS from anywhere in the globe. Your Azure Storage account&#8217;s data is long-lasting and highly&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-13158","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating an Azure Storage Account - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating an Azure Storage Account - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-14T11:03:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/\",\"name\":\"Creating an Azure Storage Account - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-07-23T17:26:19+00:00\",\"dateModified\":\"2022-03-14T11:03:29+00:00\",\"description\":\"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating an Azure Storage Account\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating an Azure Storage Account - Testprep Training Tutorials","description":"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/","og_locale":"en_US","og_type":"article","og_title":"Creating an Azure Storage Account - Testprep Training Tutorials","og_description":"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-03-14T11:03:29+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/","name":"Creating an Azure Storage Account - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-07-23T17:26:19+00:00","dateModified":"2022-03-14T11:03:29+00:00","description":"Enrich your profile and learn creating Azure Storage Account using Portal, PowerShell, and Azure CLI. Learn and Pass AZ-104 Exam Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-storage-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Creating an Azure Storage Account"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=13158"}],"version-history":[{"count":6,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13158\/revisions"}],"predecessor-version":[{"id":52822,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13158\/revisions\/52822"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=13158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=13158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=13158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}