Azure IDs Explained. Tenant, Subscription, Resource, Application (client) & Object IDs
When working with Azure, you will encounter various types of IDs in the form of GUIDs (Globally Unique Identifiers). Understanding these IDs is crucial for managing resources, configuring access, and using the Azure CLI (az) effectively.
We’ll explore these IDs (terms in backticks match the Azure portal labels):
Tenant ID— identifies your Microsoft Entra ID directory; used for authentication and identity management.Subscription ID— identifies a subscription; used for billing and scoping resource operations.Resource GUID— an internal GUID assigned to a resource instance; helpful for cross-referencing resources.Resource ID— the full ARM path showing where a resource lives; used in ARM templates and API calls.Application (Client) ID— the client identifier (appId) for a registered application; used in OAuth flows.Object ID— a tenant-scoped identifier for directory objects like users and service principals.