Skip to content

Instantly share code, notes, and snippets.

@kasunkv
Last active March 10, 2019 16:40
Show Gist options
  • Save kasunkv/a3fc28818f60b0483d66fb0b921f1f42 to your computer and use it in GitHub Desktop.
Save kasunkv/a3fc28818f60b0483d66fb0b921f1f42 to your computer and use it in GitHub Desktop.
Enable Azure Resource Provider using Azure CLI
# Login to Azure
az login --use-device-code
# Check the registration Status of the Resource Provider
az provider list --query "[?namespace == 'Microsoft.Compute']" --output table
# Register the Microsoft.Compute Resource Provider
az provider register --namespace "Microsoft.Compute"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment