Azure resource providers and types.

Ohekpeje Odey's photo
Ohekpeje Odey

Published on Jan 4, 2021

2 min read

Subscribe to my newsletter and never miss my upcoming articles

When deploying resources, you frequently need to retrieve information about the resource providers and types. For example, when you create/deploy a web app, you work with the Microsoft.Web resource provider. This resource if

Before using a resource provider, your Azure subscription must be registered for the resource provider. Registration configures your subscription to work with the resource provider. Some resource providers are registered by default. Other resource providers are registered automatically when you take certain actions. For example, when you create a resource through the portal, the resource provider is typically registered for you. For other scenarios, you may need to manually register a resource provider. See Resource Provider

NOTE: Only register a resource provider when you're ready to use it. The registration step enables you to maintain least privileges within your subscription. A malicious user can't use resource providers that aren't registered.

To see the information regarding your resource providers, you can achieve this in two ways.

Sign in to the Azure portal.

On the top right where you have your account details, click on the switch directory to access permission.

Picture1.png Then click on Resource provider status.

Picture2.png

You can also access the Resource provider via the Subscription blade on the Azure portal.

Picture3.png

To see all resource providers in Azure, and the registration status for your subscription, run the below script in Azure CLI provided on the portal.

az provider list --query "[].{Provider:namespace, Status:registrationState}" --out table

Picture4.png

 
Share this
Proudly part of