'How can I differentiate between an App Registration and Enterprise Application in Microsoft Graph API?

I'm wondering if there is a way to tell whether a given application retrieved via command Get-MgApplication is an App Registration or an Enterprise App.



Solution 1:[1]

Get-MgApplication is the cmdlet for App Registrations

Get-MgServicePrincipal is the cmdlet for Enterprise Applications

Microsoft generally refers to App Registrations as applications/application objects, and refers to Enterprise Applications as service principals/service principal objects. This is reflected in the cmdlet naming

See Application and service principal objects in Azure Active Directory

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1