Task 02: Verify Provider Registration
DOCUMENT CATEGORY: Runbook
SCOPE: Azure resource provider registration verification
PURPOSE: Confirm all required resource providers are fully registered
MASTER REFERENCE: Microsoft Learn — Resource Providers
Status: Active
Overview
After registering resource providers in Task 01, this task verifies all providers have completed registration and are ready for use. Run this verification before proceeding to RBAC configuration.
Some providers may still be in "Registering" state after Task 01. Wait 2–5 minutes and re-run verification if needed.
Prerequisites
| Prerequisite | Detail |
|---|---|
| Task 01 | Register Resource Providers completed |
| Permissions | Contributor or Owner role at subscription level |
| Authenticated Azure session | See Authentication |
infrastructure.yml | Configured with target subscription ID |
Values from infrastructure.yml
The values for this task come from infrastructure.yml (schema 5). Every key, with its type, default and example, is in the variables reference.
Execution Options
- Azure Portal
- Orchestrated Script
- Azure CLI
Azure Portal
When to use: Visual verification through Azure Portal
Procedure
- Navigate to Resource Providers:
- In Azure Portal, search for Subscriptions
- Select your target subscription (
infrastructure.yml:azure.subscription_id) - In the left menu under Settings, click Resource providers
- Verify each provider:
Search for each provider and confirm "Registered" status:
| Provider | Status |
|---|---|
| Microsoft.HybridCompute | ☐ Registered |
| Microsoft.GuestConfiguration | ☐ Registered |
| Microsoft.HybridConnectivity | ☐ Registered |
| Microsoft.AzureStackHCI | ☐ Registered |
| Microsoft.Kubernetes | ☐ Registered |
| Microsoft.KubernetesConfiguration | ☐ Registered |
| Microsoft.ExtendedLocation | ☐ Registered |
| Microsoft.ResourceConnector | ☐ Registered |
| Microsoft.HybridContainerService | ☐ Registered |
| Microsoft.Attestation | ☐ Registered |
| Microsoft.Storage | ☐ Registered |
| Microsoft.Insights | ☐ Registered |
| Microsoft.KeyVault | ☐ Registered |
- Document results:
- Screenshot the Resource providers page with all providers visible
- Save for deployment documentation / handover
Links
PowerShell
When to use: Run the task with the script below, from the place its help names (a management workstation, or the node itself).
Script
| Script | What it does |
|---|---|
scripts/deploy/02-azure-foundation/phase-02-resource-providers/task-02-verify-provider-registration/powershell/Test-ResourceProviders.ps1 | Verifies Azure resource provider registration status. |
Requires: modules Az.Resources.
Run
.\Test-ResourceProviders.ps1
Azure CLI
When to use: Check the task from a host that has the Azure CLI and not the Az PowerShell modules. The script is PowerShell 7 that calls
azand only reads Azure.
Script
| Script | What it does |
|---|---|
scripts/deploy/02-azure-foundation/phase-02-resource-providers/task-02-verify-provider-registration/azurecli/Test-ResourceProviders.azcli.ps1 | Checks with the Azure CLI that the 13 resource providers Azure Local needs are registered in the subscription of infrastructure.yml. Changes nothing. |
Requires: PowerShell 7 and the Azure CLI, signed in with az login --tenant <azure.tenant_id>.
Prints one row for each provider (Provider, RegistrationState, IsRegistered) and ends with exit code 0 when all are registered. Reader on the subscription is enough. Register the missing ones with the Azure CLI script of Task 01.
Run
./Test-ResourceProviders.azcli.ps1 -InfrastructureFile ./infrastructure.yml
Phase 02 Exit Criteria
Complete this checklist before proceeding to Phase 03:
- All 13 resource providers show "Registered" status
- Verification script passes with exit code 0
- Screenshot / documentation captured for handover
- Ready to proceed to Phase 03: RBAC & Permissions
Troubleshooting
| Symptom | Cause | Resolution |
|---|---|---|
| Providers still "Registering" | Registration not yet complete | Wait 5 minutes and re-run verification |
| Cannot check provider status | Insufficient permissions | Verify Contributor or Owner role at subscription level |
| Registration failed | Check Activity Log | Azure Portal → Subscriptions → Activity log → filter by "Register resource provider" |
Next Steps
Phase 02 is complete. Proceed to Phase 03: RBAC & Permissions to configure role-based access control.
References
Alternatives
The procedures in this task use the methods shown in the tabs above. The toolkit is PowerShell 7 only and has no Bash scripts. A few tasks that act on Azure also have an Azure CLI script written in PowerShell. The script status page of the toolkit lists which task has which script.
Navigation
| Previous | Up | Next |
|---|---|---|
| Task 01 — Register Resource Providers | Phase 02 — Resource Providers | Phase 03 — RBAC Permissions |
Version Control
- Created: 2026-01-15 by Azure Local Cloud
- Last Updated: 2026-03-02 by Azure Local Cloud
- Version: 2.0.0
- Tags: azure-local, phase-02, resource-providers, verification
- Keywords: verify providers, registration verification, provider status
- Author: Azure Local Cloud
Version Control
| Version | Date | Author | Changes |
|---|---|---|---|
| 1.0.0 | 2025-03-25 | Azure Local Cloud | Initial release |