I want to have a list of all NON-Microsoft-Default service principals in my tenant, exclude all OOBE apps.
I can´t find any property on a service principal object returned by either the Get-AzureADServicePrincipal
PS cmdlet or the Graph-API (graph.microsoft.com/beta/servicePrincipals
) where i can tell whether its Microsoft default App or a custom one.
At first I thought it might be the tag property and I can filter on those which have the WindowsAzureActiveDirectoryIntegratedApp
tag. But it turned out that it indicates wheter the service principal is an enterprise app or not (application type).
Any ideas on which property to filter or which API to use?