Interview Prep/Azure/Entra ID, RBAC and Identities

What is the difference between an app registration and a service principal?

BeginnerConceptEntra ID, RBAC and Identities
Answer

An app registration (application object) is the global definition of an app, living in its home tenant: client ID, redirect URIs, credentials, federated credentials, API permissions.

A service principal (enterprise application) is the local instance of that app in a specific tenant, and it is what RBAC roles are assigned to. One app registration can have service principals in many tenants (multi-tenant apps).

az ad sp create-for-rbac creates both in one shot plus a client secret, which is convenient and also the reason so many secrets leak.

Azure All Azure questions Roadmap: Azure core services

More on Entra ID, RBAC and Identities