how to fix Resource provider(s): Microsoft.Storage are not registered for subscription Azure subscription 1 and you don’t have permissions to register a resource provider for subscription Azure subscription 1

UCHECHUKWU 0 Reputation points
2024-05-26T17:03:53.66+00:00

storage account error1

i was trying to create a storage but i keep getting this red error massage

Resource provider(s): Microsoft.Storage are not registered for subscription Azure subscription 1 and you don’t have permissions to register a resource provider for subscription Azure subscription 1

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,841 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,043 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. William 615 Reputation points
    2024-05-26T18:24:40.89+00:00

    Th error message you received indicates that the Microsoft. Storage resource provider is not registered for your subscription. It mentions that you don’t have permissions to register it.

    Storage not being registered for your Azure subscription 1, you can follow these steps:

    Check Permissions: Ensure that you have the necessary permissions to register resource providers. You need either subscription owner rights or someone with appropriate rights to register the provider for you. If needed, create a custom role and assign it to the user(s) who need to register providers1.

    Register the Resource Provider: To manually register a resource provider, follow these steps:

    Azure Portal:

    Sign in to the Azure portal.

    1. Select Subscriptions from the left-side navigation pane (if not listed, click More services first).

    Choose the subscription where you want to register the provider.

    1. Click Access control (IAM).
    2. Click Add, then select Register Microsoft providers and click OK.

    Azure CLI: Run the following command in Azure CLI to check the registration status of resource providers:

    az provider list --output table

    This command will display whether each resource provider is Registered or NotRegistered. If a provider is not registered, you can register it using the appropriate command.

    Azure PowerShell: Use the following PowerShell command to check the registration status:

    Get-AzResourceProvider | Select-Object ProviderNamespace, RegistrationState

    If a provider is not registered, you can register it using the appropriate cmdlet.

    Verify API Versions and Supported Locations: Ensure that the API version specified in your template is supported for the resource type. Additionally, check if the location you’re deploying resources to is supported for the resource type.

    Remember to replace placeholders like {location}, {api-version}, and {resource-type} with the actual values from your deployment error message.

    If you encounter any issues, consider reaching out to your subscription administrator for assistance.

    0 comments No comments

  2. Varun R 265 Reputation points
    2024-05-26T19:49:49.9333333+00:00

    Step1: Sign in to Azure portal.

    Step2: In the search box, enter subscriptions.

    Step3: Select the subscription you want to use to register a resource provider.

    Step4: To see the list of resource providers, under Settings select Resource providers.

    Step4: To register a resource provider, select the resource provider (Microsoft.Storage) and then select Register.

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    0 comments No comments

  3. Sumarigo-MSFT 44,591 Reputation points Microsoft Employee
    2024-05-27T03:28:07.74+00:00

    @UCHECHUKWU Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I assume your subscription might not have Microsoft.Storage as a registered resource provider. Could you please check your subscription page from Azure portal and load the Resource Providers page to check if the same is registered?

    User's image

    If it is not registered, you can click on the same and hit the register button and then try to follow the steps again.
    Additional information: See here Failed to create new Storage account

    Register 'Microsoft.storage' in the resource providers menu in the Azure subscription. Select the item and click on 'register' on the top of the page.

    Re-register these resource Providers:
    Microsoft.Storage
    Microsoft.CloudShell
    image

    Resolve errors for resource provider registration

    Please let us know if you have any further queries. I’m happy to assist you further.    


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments