Lesson 2 of 3 Azure Resource Hierarchy

Managing Azure Subscriptions

A subscription is a boundary for billing, access and limits. This lesson explains subscription quotas and the difference between billing transfers and directory changes.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the relationship between subscriptions, billing accounts and Microsoft Entra tenants.
  • Explain how quotas affect deployments and how they are increased.
  • Distinguish between transferring billing ownership and changing a subscription's directory.

What a subscription provides

Each subscription is linked to a billing account, under an offer such as pay-as-you-go, an Enterprise Agreement (EA) or a Microsoft Customer Agreement (MCA), and every charge is recorded against it. It trusts one Microsoft Entra tenant, which authenticates every user who accesses it, while a tenant can have many subscriptions. Subscriptions are therefore used to separate billing (per department or customer), access (production administrators differ from developers) and limits.

Every subscription has quotas and limits, such as the number of vCPUs per VM family per region, public IP addresses, or storage accounts per region. Usage is shown on the subscription's Usage + quotas page, and many quotas can be increased with a request from that page or a support request. Deployment errors such as QuotaExceeded or OperationNotAllowed for cores are resolved this way. Resource providers, such as Microsoft.Network, must be registered in a subscription before their resources can be created, which the portal usually does automatically.

The following diagram compares the vCPUs a scale set deployment needs with the subscription's regional quota.

Why the scale set deployment fails. Twenty Standard_D4s_v5 instances at 4 vCPUs each need 80 DSv5-family vCPUs in East US, more than the quota of 50. Request a quota increase on the subscription's Usage + quotas page, or choose a family or region with available quota.
The scenario is illustrative.
Scenario questions

Subscriptions and quotas

Exam skills 1.3.5

Decide how to resolve subscription limits and boundaries.

Log in to try this activity Interactive activities are free with an account.

Ownership and directory changes

Two subscription operations are frequently confused. Transferring billing ownership changes who pays: the subscription, its resources and its access are unchanged. Changing the directory associates the subscription with a different Microsoft Entra tenant: resources keep running, but all Azure role assignments, custom roles, user-assigned and system-assigned managed identities, and Key Vault access policies tied to the old tenant are removed or broken and must be recreated in the new tenant.

Subscriptions can be renamed, moved between management groups, cancelled (resources are disabled, and data is deleted after a retention period) and reactivated. The Account Administrator and Service Administrator classic roles are retired; subscription administration uses Azure RBAC Owner assignments.

Sort into groups

Billing transfer or directory change?

Exam skills 1.3.5

Decide which subscription operation each statement describes.

Log in to try this activity Interactive activities are free with an account.
Worked example

A deployment blocked by quota

An administrator deploys a scale set of 20 Standard_D4s_v5 instances (4 vCPUs each) in East US. The deployment fails with an error stating that the operation would exceed the approved standard DSv5 family cores quota of 50. What should the administrator do?

The deployment needs 80 vCPUs of the DSv5 family in East US, more than the quota of 50. Request a quota increase for the Standard DSv5 Family vCPUs in East US on the subscription's Usage + quotas page (or choose a different family or region with available quota). Changing the subscription's directory, adding a role assignment or registering a resource provider does not change quotas.

Check yourself

What happens to Azure role assignments when a subscription is moved to a different Microsoft Entra tenant?

Show answer

They are removed, along with managed identities and custom roles from the old tenant, and must be recreated.

Exam Tips

Remember for the exam

  • A subscription trusts exactly one tenant; a tenant can have many subscriptions.
  • Changing a subscription's directory removes role assignments and managed identities.
  • Transferring billing ownership changes who pays, not access.
  • Fix vCPU quota errors with a quota increase request for that family and region.