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.
CodePudding user response:
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
