I have a doubt, i am new to azure entra id and i am trying to register the application. I understand from the document that when you register the application and application object and a service principal object is also created.I have registered an app and i see three different ids
I am really confused which is the application object , which is the service principal object.
Application Object ID is the object ID of the Entra ID application:
Application Client ID is the ID of the application to perform operations against the specific instance of the application.
Service principal object ID is the object ID of the managed application/Enterprise application:
When you click on managed application you will find the Service principal object ID:
Note that: Application ID of the Service principal/managed application/Enterprise application and Microsoft Entra ID application ID will be same.
In your case, 0862e661-cfba-4f94XXXXXXXXXXXXXX is the object ID of the Microsoft Entra application and 16742ff3-f903XXXXXXX object ID of the Service principal.
References:
What are Azure TenantId, ClientId (Application Id) and ObjectId? | by Jiangong Sun | Medium by Jiangong Sun
Azure: Service Principal ID vs Application ID - Stack Overflow by Rohit Saigal