In this Azure PowerShell article, we will discuss the syntax and usage of Get-AzResourceProvider with examples.
Table of Contents
Get-AzResourceProvider
Get-AzResourceProvider is an excellent Azure PowerShell cmdlet that can help you to quickly get the Azure resource provider.
Syntax of Get-AzResourceProvider
Below is the syntax of the Get-AzResourceProvider Azure PowerShell cmdlet.
Get-AzResourceProvider
Get-AzResourceProvider
-ProviderNamespace <String[]>
Let’s discuss a few examples of implementations of the Get-AzResourceProvider Azure PowerShell cmdlet.
Example-1:
You can execute the below command to get the Azure resource provider details.
Get-AzResourceProvider
After executing this command, I got the below output
PS C:\Users\Bijay> Get-AzResourceProvider
ProviderNamespace : Microsoft.Cdn
RegistrationState : Registered
ResourceTypes : {profiles, profiles/endpoints, profiles/endpoints/origins,
profiles/endpoints/origingroups...}
Locations : {global, Australia East, Australia Southeast, Brazil South...}
ProviderNamespace : Microsoft.ResourceHealth
RegistrationState : Registered
ResourceTypes : {availabilityStatuses, childAvailabilityStatuses, childResources,
events...}
Locations : {}
ProviderNamespace : Microsoft.DevTestLab
RegistrationState : Registered
ResourceTypes : {labs/environments, labs, schedules, labs/virtualMachines...}
Locations : {Southeast Asia, East US, West US, West Europe...}
ProviderNamespace : Microsoft.ManagedIdentity
RegistrationState : Registered
ResourceTypes : {Identities, userAssignedIdentities, operations,
userAssignedIdentities/federatedIdentityCredentials}
Locations : {Global, Asia, Australia, Brazil...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/storageTaskAssignments,
storageAccounts/encryptionScopes, deletedAccounts,
locations/deletedAccounts...}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.ContainerRegistry
RegistrationState : Registered
ResourceTypes : {registries, registries/cacheRules, registries/credentialSets,
registries/connectedRegistries...}
Locations : {West US, East US, South Central US, West Europe...}
ProviderNamespace : Microsoft.SignalRService
RegistrationState : Registered
ResourceTypes : {SignalR, WebPubSub, locations, locations/operationResults...}
Locations : {Australia East, Brazil South, Canada Central, Canada East...}
ProviderNamespace : Microsoft.KeyVault
RegistrationState : Registered
ResourceTypes : {vaults, vaults/secrets, vaults/accessPolicies, operations...}
Locations : {North Central US, East US, North Europe, West Europe...}
ProviderNamespace : Microsoft.Security
RegistrationState : Registered
ResourceTypes : {operations, securityStatuses, tasks, secureScores...}
Locations : {Central US, East US, West Europe, West Central US...}
ProviderNamespace : Microsoft.PolicyInsights
RegistrationState : Registered
ResourceTypes : {policyEvents, policyStates, operations, asyncOperationResults...}
Locations : {}
ProviderNamespace : Microsoft.AlertsManagement
RegistrationState : Registered
ResourceTypes : {alerts, alertsSummary, smartGroups, smartDetectorAlertRules...}
Locations : {global, North Central US, East US, East US 2...}
ProviderNamespace : Microsoft.RecoveryServices
RegistrationState : Registered
ResourceTypes : {vaults, operations, locations, locations/backupStatus...}
Locations : {West US, East US, North Europe, West Europe...}
ProviderNamespace : Microsoft.DBforMySQL
RegistrationState : Registered
ResourceTypes : {operations, servers, flexibleServers,
servers/recoverableServers...}
Locations : {Australia Central, Australia Central 2, Australia East,
Australia Southeast...}
ProviderNamespace : Microsoft.AAD
RegistrationState : Registered
ResourceTypes : {DomainServices, DomainServices/oucontainer, locations,
locations/operationresults...}
Locations : {West US, Central US, East US, South Central US...}
ProviderNamespace : Microsoft.MachineLearningServices
RegistrationState : Registered
ResourceTypes : {workspaces/batchEndpoints,
workspaces/batchEndpoints/deployments, workspaces, registries...}
Locations : {North Central US, Canada Central, Central India, UK South...}
ProviderNamespace : Microsoft.DomainRegistration
RegistrationState : Registered
ResourceTypes : {domains, domains/domainOwnershipIdentifiers, topLevelDomains,
checkDomainAvailability...}
Locations : {global}
ProviderNamespace : Microsoft.ChangeAnalysis
RegistrationState : Registered
ResourceTypes : {operations, resourceChanges, changes}
Locations : {}
ProviderNamespace : Microsoft.ApiManagement
RegistrationState : Registered
ResourceTypes : {service, deletedServices, locations,
locations/deletedServices...}
Locations : {Central India, UAE North, Australia Central, Germany West
Central...}
ProviderNamespace : Microsoft.Advisor
RegistrationState : Registered
ResourceTypes : {suppressions, configurations, metadata, recommendations...}
Locations : {}
ProviderNamespace : Microsoft.Relay
RegistrationState : Registered
ResourceTypes : {namespaces, namespaces/authorizationrules,
namespaces/privateEndpointConnections,
namespaces/hybridconnections...}
Locations : {Australia Central, Australia East, Australia Southeast, Brazil
South...}
ProviderNamespace : Microsoft.OperationalInsights
RegistrationState : Registered
ResourceTypes : {workspaces, querypacks, locations,
locations/operationStatuses...}
Locations : {East US, West Europe, Southeast Asia, Australia Southeast...}
ProviderNamespace : Microsoft.Portal
RegistrationState : Registered
ResourceTypes : {dashboards, tenantconfigurations,
listTenantConfigurationViolations, operations...}
Locations : {Australia Central, Australia Central 2, Australia East,
Australia Southeast...}
ProviderNamespace : Microsoft.CognitiveServices
RegistrationState : Registered
ResourceTypes : {accounts, operations, locations/operationResults, locations...}
Locations : {Global, Australia East, Brazil South, West US...}
ProviderNamespace : Microsoft.BotService
RegistrationState : Registered
ResourceTypes : {botServices, botServices/channels, botServices/connections,
listAuthServiceProviders...}
Locations : {Global, West Europe, West US}
ProviderNamespace : Microsoft.Devices
RegistrationState : Registered
ResourceTypes : {checkNameAvailability, checkProvisioningServiceNameAvailability,
usages, operations...}
Locations : {West US, Australia Central 2, Australia Southeast, Canada
East...}
ProviderNamespace : Microsoft.DataMigration
RegistrationState : Registered
ResourceTypes : {locations, services, services/projects,
locations/operationResults...}
Locations : {West Central US, Brazil South, West Europe, Australia East...}
ProviderNamespace : Microsoft.Maintenance
RegistrationState : Registered
ResourceTypes : {maintenanceConfigurations, updates, configurationAssignments,
applyUpdates...}
Locations : {Central US, East US, East US 2, West US...}
ProviderNamespace : Microsoft.MarketplaceNotifications
RegistrationState : Registered
ResourceTypes : {reviewsnotifications, operations}
Locations : {}
ProviderNamespace : Microsoft.DocumentDB
RegistrationState : Registered
ResourceTypes : {databaseAccounts, databaseAccountNames, operations,
operationResults...}
Locations : {West Central US, North Central US, Central US, Brazil South...}
ProviderNamespace : Microsoft.Databricks
RegistrationState : Registered
ResourceTypes : {workspaces, accessConnectors, workspaces/virtualNetworkPeerings,
workspaces/dbWorkspaces...}
Locations : {West US, East US 2, West Europe, East US...}
ProviderNamespace : Microsoft.Synapse
RegistrationState : Registered
ResourceTypes : {workspaces, workspaces/bigDataPools, workspaces/sqlPools,
workspaces/sqlDatabases...}
Locations : {West US 2, East US, North Europe, West Europe...}
ProviderNamespace : Microsoft.OperationsManagement
RegistrationState : Registered
ResourceTypes : {solutions, managementassociations, views, operations}
Locations : {East US, West Europe, Southeast Asia, Australia Southeast...}
ProviderNamespace : Microsoft.SecurityInsights
RegistrationState : Registered
ResourceTypes : {operations, alertRules, alertRuleTemplates,
triggeredAnalyticsRuleRuns...}
Locations : {West Europe, North Europe, France Central, UK South...}
ProviderNamespace : Microsoft.ServiceBus
RegistrationState : Registered
ResourceTypes : {namespaces, namespaces/authorizationrules,
namespaces/networkrulesets,
namespaces/privateEndpointConnections...}
Locations : {Australia Central, Australia East, Australia Southeast, Brazil
South...}
ProviderNamespace : Microsoft.Automation
RegistrationState : Registered
ResourceTypes : {automationAccounts, deletedAutomationAccounts,
automationAccounts/runbooks, automationAccounts/configurations...}
Locations : {Japan East, East US 2, West Europe, South Africa North...}
ProviderNamespace : Microsoft.Logic
RegistrationState : Registered
ResourceTypes : {workflows, locations/workflows,
locations/validateWorkflowExport, locations/workflowExport...}
Locations : {North Central US, Central US, South Central US, North Europe...}
ProviderNamespace : Microsoft.SaaS
RegistrationState : Registered
ResourceTypes : {applications, checknameavailability, saasresources,
operationResults...}
Locations : {global}
ProviderNamespace : Microsoft.AppPlatform
RegistrationState : Registered
ResourceTypes : {Spring, Spring/apps, Spring/apps/deployments,
locations/checkNameAvailability...}
Locations : {West Europe, East US, West US 2, Southeast Asia...}
ProviderNamespace : Microsoft.DesktopVirtualization
RegistrationState : Registered
ResourceTypes : {workspaces, applicationgroups, applicationgroups/applications,
applicationgroups/desktops...}
Locations : {Central India, UK South, UK West, Japan East...}
ProviderNamespace : Microsoft.DBforPostgreSQL
RegistrationState : Registered
ResourceTypes : {operations, servers, serverGroupsv2, flexibleServers...}
Locations : {Australia Central, Australia Central 2, Australia East,
Australia Southeast...}
ProviderNamespace : Microsoft.ClassicCompute
RegistrationState : Registered
ResourceTypes : {domainNames, domainNames/internalLoadBalancers,
checkDomainNameAvailability, domainNames/slots...}
Locations : {East Asia, Southeast Asia, East US, East US 2...}
ProviderNamespace : Microsoft.ClassicStorage
RegistrationState : Registered
ResourceTypes : {storageAccounts, quotas, checkStorageAccountAvailability,
storageAccounts/services...}
Locations : {East Asia, Southeast Asia, East US, East US 2...}
ProviderNamespace : Microsoft.GuestConfiguration
RegistrationState : Registered
ResourceTypes : {guestConfigurationAssignments, operations}
Locations : {}
ProviderNamespace : microsoft.insights
RegistrationState : Registered
ResourceTypes : {components, components/query, components/metadata,
components/metrics...}
Locations : {East US, South Central US, North Europe, West Europe...}
ProviderNamespace : Microsoft.Sql
RegistrationState : Registered
ResourceTypes : {operations, locations, locations/capabilities,
locations/databaseAzureAsyncOperation...}
Locations : {Australia Central, Australia East, Australia Southeast, Brazil
South...}
ProviderNamespace : Microsoft.Network
RegistrationState : Registered
ResourceTypes : {virtualNetworks, virtualNetworks/taggedTrafficConsumers,
natGateways, publicIPAddresses...}
Locations : {West US, East US, North Europe, West Europe...}
ProviderNamespace : Microsoft.Web
RegistrationState : Registered
ResourceTypes : {publishingUsers, ishostnameavailable, validate,
isusernameavailable...}
Locations : {Central US, North Europe, West Europe, Southeast Asia...}
ProviderNamespace : Microsoft.Compute
RegistrationState : Registered
ResourceTypes : {availabilitySets, virtualMachines, virtualMachines/extensions,
virtualMachineScaleSets...}
Locations : {East US, East US 2, West US, Central US...}
ProviderNamespace : Microsoft.ADHybridHealthService
RegistrationState : Registered
ResourceTypes : {services, addsservices, configuration, operations...}
Locations : {West US}
ProviderNamespace : Microsoft.Authorization
RegistrationState : Registered
ResourceTypes : {roleAssignmentScheduleRequests, roleEligibilityScheduleRequests,
roleAssignmentSchedules, roleEligibilitySchedules...}
Locations : {global}
ProviderNamespace : Microsoft.Billing
RegistrationState : Registered
ResourceTypes : {billingPeriods, invoices, enrollmentAccounts,
permissionRequests...}
Locations : {}
ProviderNamespace : Microsoft.ClassicSubscription
RegistrationState : Registered
ResourceTypes : {operations}
Locations : {}
ProviderNamespace : Microsoft.Commerce
RegistrationState : Registered
ResourceTypes : {UsageAggregates, RateCard, operations}
Locations : {}
ProviderNamespace : Microsoft.Consumption
RegistrationState : Registered
ResourceTypes : {Forecasts, AggregatedCost, tenants,
ReservationRecommendations...}
Locations : {}
ProviderNamespace : Microsoft.CostManagement
RegistrationState : Registered
ResourceTypes : {Connectors, CloudConnectors, CheckConnectorEligibility,
ExternalBillingAccounts...}
Locations : {West US}
ProviderNamespace : Microsoft.Features
RegistrationState : Registered
ResourceTypes : {features, providers, featureProviders,
subscriptionFeatureRegistrations...}
Locations : {}
ProviderNamespace : Microsoft.MarketplaceOrdering
RegistrationState : Registered
ResourceTypes : {agreements, operations, offertypes}
Locations : {South Central US, West US}
ProviderNamespace : Microsoft.ResourceGraph
RegistrationState : Registered
ResourceTypes : {resources, resourcesHistory, resourceChanges,
resourceChangeDetails...}
Locations : {East US, global}
ProviderNamespace : Microsoft.Resources
RegistrationState : Registered
ResourceTypes : {deploymentScripts, deploymentScripts/logs,
locations/deploymentScriptOperationResults, templateSpecs...}
Locations : {East Asia, Southeast Asia, Australia East, Australia
Southeast...}
ProviderNamespace : Microsoft.SerialConsole
RegistrationState : Registered
ResourceTypes : {consoleServices, serialPorts, locations,
locations/consoleServices...}
Locations : {Australia Central, Australia East, Australia Southeast, Brazil
South...}
ProviderNamespace : microsoft.support
RegistrationState : Registered
ResourceTypes : {operations, checkNameAvailability, services,
services/problemclassifications...}
Locations : {North Central US, South Central US, Central US, West Europe...}
You can check out the output here

Example-2:
You can also specify any specific provider namespace under the one you wish to get the provider details.
Get-AzResourceProvider -ProviderNamespace Microsoft.Storage
After executing the above command, I got the below output
PS C:\Users\Bijay> Get-AzResourceProvider -ProviderNamespace Microsoft.Storage
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/storageTaskAssignments}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/encryptionScopes}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {deletedAccounts}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/deletedAccounts}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageTasks}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {operations}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/asyncoperations}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/listAccountSas}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/listServiceSas}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/blobServices}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/tableServices}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/queueServices}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/fileServices}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations}
Locations : {}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/usages}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/deleteVirtualNetworkOrSubnets}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {usages}
Locations : {}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {checkNameAvailability}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/checkNameAvailability}
Locations : {East US, East US 2, West US, West Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/services}
Locations : {East US, West US, West Europe, North Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {storageAccounts/services/metricDefinitions}
Locations : {East US, West US, West Europe, North Europe...}
ProviderNamespace : Microsoft.Storage
RegistrationState : Registered
ResourceTypes : {locations/notifyNetworkSecurityPerimeterUpdatesAvailable}
Locations : {East US, East US 2, West US, West Europe...}
You can see the same output below

You may also like following the below articles
- Get-AzProviderFeature
- Get-AzPolicyAssignment
- Export-AzResourceGroup
- Get-AzResource
- Get-AzResourceLock
Wrapping Up
In this Azure PowerShell article, we have discussed the syntax and usage of the Get-AzResourceProvider Azure PowerShell cmdlet. Thanks for reading this article !!!