You are developing a multi-tenant web application that will be hosted in Azure. The application must access Microsoft Graph API on behalf of signed-in users from various external Microsoft Entra ID tenants. When a customer's tenant administrator consents to the application, a local representation of your application must be created in their tenant to define permissions and access controls. Which object is created in the customer's tenant to represent this local instance of the application?
- A service principalAnswer
- BAn application registration
- CA system-assigned managed identity
- DA user-assigned managed identity
Answer
A service principal
A service principal is the local instance of a global application object in a specific Microsoft Entra ID tenant. It is created when consent is granted to the application, serving as the security identity that defines permissions and policies for the app within that tenant.
Step-by-Step Solution
Key Concept
The relationship between Application Registrations (global template) and Service Principals (local tenant-specific instance) in Microsoft Entra ID.