Listing Enterprise Applications using graph does not show all preferredSingleSignOnMode

Hector D 0 Reputation points
2024-08-01T14:36:39.87+00:00

I want to find out which application are using saml,oidc,etc. from reading various articles this should be displayed in "preferredSingleSignOnMode" property when querying apps using graph. However, I've noticed that it will only show saml in this property and the reset are null.

I'm using PowerShell module here is the line I'm using below:

Get-MgServicePrincipal -Search "tags:WindowsAzureActiveDirectoryIntegratedApp" -ConsistencyLevel eventual -All | select AppId,id,DisplayName,Description,PreferredSingleSignOnMode

I have tried different things as well to no avail:

  • GraphExplorer
      GET https://graph.microsoft.com/v1.0/servicePrincipals?$filter=preferredSingleSignOnMode eq 'oidc'&$select=appDisplayName,preferredSingleSignOnMode.
    
  • Beta version
  • Adding Count and ConsistencyLevel

Reading this article below the query should show oidc apps. Is this a bug? Or am i doing something wrong?
User's image

https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0#properties

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.