Exploring Microsoft Entra ID – Discussing What is Application registration? What is Application and Service Principal object

fig : Microsoft Entra admin center - Identity >> Applications >> App registrations
fig : Microsoft Entra admin center - Identity >> Applications >> App registrations

Hi All,

Greetings for the day !

We started exploring Microsoft Entra, today we will move ahead

While exploring Microsoft Entra ID, in one of the previous article we discussed about getting list of all applications or exporting to CSV. Exploring Microsoft Entra – How to download all applications list from Microsoft Entra admin center https://knowledge-junction.in/2024/03/13/microsoft-entra-download-apps-entra-admin-center/

But what exactly Application object is? What happens when we register an Application from Microsoft Entra ID admin center. In this article we will discuss these points.

If we navigate to Microsoft Entra ID admin center – https://entra.microsoft.com/. We have also detailed article how to navigate to Microsoft Entra ID admin center – Small Tips and Tricks – Microsoft Entra admin center – How to navigate – Microsoft Entra admin center – https://knowledge-junction.in/2022/12/19/small-tips-and-tricks-microsoft-entra-admin-center-how-to-navigate-microsoft-entra-admin-center/

As we navigate to Microsoft Entra admin center, in left pane we have “Applications” link under “Identity” section , if we expand it we have two options – “Enterprise applications” and “App registrations

Microsoft Entra admin center - Identity >> Applications >> App registrations
fig : Microsoft Entra admin center – Identity >> Applications >> App registrations

Application registration

What is Application object

  • An application object is used as a template or blueprint to create one or more service principal objects
  • When we register an app, application object is created. There is one and only application object for my Microsoft Entra
  • The application object describes three aspects of an application:
    • How the service can issue tokens in order to access the application
    • The resources that the application might need to access
    • The actions that the application can take

What is Service Principal object

  • Service Principal is an entity which is require to access the resources secured by Microsoft Entra
  • Service Principal is application instance
  • Service Principal derives certain properties of Application object and references the globally unique app object
  • A Service Principal is created in every tenant where the application is used
  • The service principal object defines
    • what the app can actually do in the specific tenant
    • who can access the app
    • and what resources the app can access.
  • The Service Principal defines the access policy and permissions for the user/application in the Microsoft Entra tenant
  • This enables core features such as authentication of the user/application during sign-in, and authorization during resource access
  • When an application is given permission to access resources in a tenant (upon registration or consent), a service principal object is created
  • When we register an application, a service principal is created automatically
  • We can also create service principal objects in a tenant using Azure PowerShell, Azure CLI, Microsoft Graph
  • We can use the Enterprise applications page in the Microsoft Entra admin center to list and manage the service principals in a tenant – https://entra.microsoft.com/#view/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/~/AppAppsPreview

NOTE : If we register an app using Microsoft Graph APIs then we need to separately create the Service Principal object

Microsoft Entra admin center - Identity >> Applications >> Enterprise Applications - Service Principals
fig : Microsoft Entra admin center – Identity >> Applications >> Enterprise Applications – Service Principals

REFERENCES

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading