Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

Microsoft Azure The Subscription is Not Registered to Use Namespace

January 11, 2024
in Blog, Microsoft Azure
0
ADVERTISEMENT

Table of Contents

This article describes errors that occur when you use a resource provider you haven’t already used in your Azure subscription. The errors are displayed when you deploy resources in Azure. If Azure doesn’t automatically register a resource provider, you can do a manual registration.

Az.MySql.internal\New-AzMySqlServer : The subscription registration is in 'Unregistered' state. The subscription must
be registered to use namespace 'Microsoft.DBforMySQL'. See https://aka.ms/rps-not-found for how to register
subscriptions.
At C:\Program Files\WindowsPowerShell\Modules\Az.MySql\1.0.0\custom\New-AzMySqlServer.ps1:231 char:11
+           Az.MySql.internal\New-AzMySqlServer @PSBoundParameters
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: ({ SubscriptionI...rverForCreate }:<>f__AnonymousType13`4) [New-AzMySq
   lServer_Create], Exception
    + FullyQualifiedErrorId : MissingSubscriptionRegistration,Microsoft.Azure.PowerShell.Cmdlets.MySql.Cmdlets.NewAzMy
   SqlServer_Create

Enabling a namespace provider from Azure Portal UI

1. Login into Azure portal then open your subscription from All services blade.

Bg1635

2. In the Subscription page, scroll down then select Resource Providers you will see lot of namespace providers such as following, and many of them will be Not registered.

3. In the search box search for the namespace that you want to enable. Then select it from the filtered option and click on Register.

Bg1636

4. It will start registering namespace provider, it will take some time to register.

Bg1637

5. Try refreshing to see the Registered status. Once done, you can trying to create an Azure resource to verify it works.

Bg1638

Register a namespace provider using Azure PowerShell

1. Connect to Microsoft Azure PowerShell.

2. Then finally register the required namespace provider.

Register-AzResourceProvider -ProviderNamespace Microsoft.DBforMySQL

3. After few minutes, you can user the Get-AzResourceProvider to get the registration status.

Get-AzResourceProvider -ProviderNamespace Microsoft.DBforMySQL | FT
ProviderNamespace    RegistrationState ResourceTypes                                                 Locations                                                                      ZoneMappings
-----------------    ----------------- -------------                                                 ---------                                                                      ------------
Microsoft.DBforMySQL Registered        {operations}                                                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers}                                                     {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {flexibleServers}                                             {Australia Southeast, Canada East, East Asia, East US 2…}                      
Microsoft.DBforMySQL Registered        {servers/recoverableServers}                                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/virtualNetworkRules}                                 {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/capabilities}                                      {Australia Southeast, Canada East, East Asia, East US 2…}                      
Microsoft.DBforMySQL Registered        {locations/checkNameAvailability}                             {Australia East, Australia Southeast, Brazil South, Canada Central…}           
Microsoft.DBforMySQL Registered        {checkNameAvailability}                                       {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {getPrivateDnsZoneSuffix}                                     {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/checkVirtualNetworkSubnetUsage}                    {Australia Southeast, Canada East, East Asia, East US 2…}                      
Microsoft.DBforMySQL Registered        {locations}                                                   {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/operationResults}                                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/azureAsyncOperation}                               {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/administratorOperationResults}                     {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/administratorAzureAsyncOperation}                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/privateEndpointConnectionProxyOperationResults}    {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/privateEndpointConnectionProxyAzureAsyncOperation} {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/privateEndpointConnectionOperationResults}         {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/privateEndpointConnectionAzureAsyncOperation}      {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/performanceTiers}                                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/securityAlertPoliciesAzureAsyncOperation}          {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/securityAlertPoliciesOperationResults}             {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/recommendedActionSessionsAzureAsyncOperation}      {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/recommendedActionSessionsOperationResults}         {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/topQueryStatistics}                                  {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/queryTexts}                                          {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/waitStatistics}                                      {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/resetQueryPerformanceInsightData}                    {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/advisors}                                            {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/privateLinkResources}                                {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/privateEndpointConnections}                          {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/privateEndpointConnectionProxies}                    {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/keys}                                                {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/serverKeyAzureAsyncOperation}                      {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {locations/serverKeyOperationResults}                         {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/start}                                               {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/stop}                                                {Australia Central, Australia Central 2, Australia East, Australia Southeast…} 
Microsoft.DBforMySQL Registered        {servers/upgrade}                                             {Australia Central, Australia Central 2, Australia East, Australia Southeast…}

Summary

In this post we learned how to fix the following error: The subscription is not registered to use namespace.

ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (2 votes)
Previous Post

Azure MySQL SSL Connection is Required Please Specify SSL Options

Next Post

How to Reset the FreePBX Administrator Password From SSH

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory