Create Azure Storage Account with Powershell Fails

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I'm trying to create a storage account but I get the following error:

"New-AzStorageAccount : The resource type 'checkNameAvailability' could not be found in the namespace 'Microsoft.Storage' for api version '2018-11-01'. The supported api-versions are '2018-07-01,2018-03-01-preview,2018-02-01,2017-10-01,2017-06-01,2016- 12-01,2016-07-01,2016-05-01,2016-01-01,2015-06-15,2015-05-01-preview'."

As you can tell I'm using Az Modules. Is there something additional I need to install for the checknameavailability feature to work? Here is my powershell version info: $PSVersionTable.PSVersion

Major Minor Build Revision


5 1 17134 590

I've tried using the same command with AzureRm.. but same error. I don't have a much Powershell experience so I'm lost on how to fix this. I'd appreciate any help/guidance on resolving this issue.

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.