The current subscription type is not permitted to perform operations on any provider namespace. Please use a different subsccription.

David D 1 Reputation point
2023-03-01T09:22:19.35+00:00

Hi All,

I am trying to add a Custom Role to allow a third-party vendor to connect through to Azure. When I press Create in Access Control (IAM) under Subscriptions I get the following in a red banner:

"The current subscription type is not permitted to perform operations on any provider namespace. Please use a different subscription."

I only have one subscription. What do I need to do?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 14,326 Reputation points Microsoft Employee
    2023-03-06T04:34:48.6133333+00:00

    @David D

    By looking at the error it looks like resource provider under your subscription are not registered.

    By default, any new azure subscription will be pre-registered with a list of commonly used resource providers.you

    But that is not happen then you might end up with this error.

    You can use below steps to register all resource providers under your subscription. this will help you in fixing the issue that you are getting.

    • get a list of all available resource providers run the following PowerShell command: get-AzureRmResourceProvider -ListAvailable | select ProviderNamespace
    • To register all available resource providers in the current subscription run the following PowerShell command: get-AzureRmResourceProvider -ListAvailable | foreach-object{Register-AzureRmResourceProvider -ProviderNamespace $_.ProviderNamespace}

    To run above commands you will have to install AzureRm module in PowerShell.

    If this doesn't help you in fixing the issue, you can try to login with different account to Azure portal.

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments