Interview Prep/Azure/Fundamentals and Resource Hierarchy

What happens when you run `az group create` end to end?

IntermediateConceptFundamentals and Resource Hierarchy
Answer
  1. CLI gets an access token for https://management.azure.com from its MSAL cache (refreshing it if needed).
  2. It sends PUT /subscriptions/<sub>/resourcegroups/&lt;name>?api-version=....
  3. ARM validates the token and tenant, checks RBAC for Microsoft.Resources/subscriptions/resourcegroups/write.
  4. Azure Policy evaluates the request (deny effects block it here, modify effects alter it).
  5. ARM writes the RG metadata in the chosen region and emits an Activity Log event.
  6. The CLI prints the resource with provisioningState: Succeeded.

The same sequence, with step 6 replaced by a call to the resource provider, applies to every create.

Azure All Azure questions Roadmap: Azure core services

More on Fundamentals and Resource Hierarchy