I am trying to get the Service Principal name using the object id. I have used below command
Get-AzADServicePrincipal -ObjectID '7d04df0f-d953-4fac-8b34-fa032b132054'
When I check this Service Principal in portal, I got same application id but different object id

What and why there is difference between these 2 object ID's?



