Azure subscription vs tenant - varoonsahgal/tf-az-wt GitHub Wiki
-
An Azure tenant represents a dedicated instance of Azure Active Directory (AAD).
-
It contains:
-
Users and groups
-
App registrations
-
Enterprise applications
-
Role-based access control (RBAC) identities
-
-
Itβs tied to your organizationβs domain (like
yourcompany.com
). -
It is free, and you get one automatically when you sign up for Azure with an organizational account.
π Analogy: A tenant is like the organizationβs security and identity office.
-
A subscription is an agreement with Microsoft that lets you use Azure services and be billed for them.
-
It contains:
-
Resource groups
-
Virtual machines, databases, storage, networks, etc.
-
Usage and cost data
-
-
You can have multiple subscriptions under one tenant to separate environments (dev/test/prod), departments, or projects.
π Analogy: A subscription is like a project budget account with spending limits and resource access.
Azure AD Tenant (Identity)
β
βββ Subscription A (Dev)
βββ Subscription B (Prod)
βββ Subscription C (Sandbox)
-
All subscriptions can share the same tenant β meaning users from the same directory can access multiple subscriptions.
-
Subscriptions can also be moved between tenants, though itβs an advanced process with limitations.
Feature | Azure Tenant | Azure Subscription |
---|---|---|
Purpose | Identity, authentication, directory | Billing, resource management |
Contains | Users, groups, apps, policies | Resource groups, VMs, databases, etc. |
Unique ID | Tenant ID (GUID) | Subscription ID (GUID) |
Billing | β Not directly tied to billing | β Bills usage to a payment method |
Scope of Access | Directory-wide (auth/authz) | Resource access (via RBAC) |
Limits | 1 tenant per org (typically) | Many subscriptions per tenant possible |
Letβs say your company is contoso.com
:
-
You have an Azure AD tenant:
contoso.onmicrosoft.com
-
You create:
-
Subscription 1: Dev environment
-
Subscription 2: Production workloads
-
-
Your IT admins manage users and groups in the tenant, while your DevOps teams deploy resources in subscriptions.