Need help to find applications with SSO configured.

D Kumar 0 Reputation points
2025-03-26T06:58:19.36+00:00

In our tenant, I want to find the list of applications who have configured SSO, also want to know those applications who have not configured

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,276 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ashok M 6,766 Reputation points
    2025-03-26T09:28:39.8333333+00:00

    Hi,

    Graph API can be used to fetch the information.

    https://graph.microsoft.com/v1.0/servicePrincipals?$filter=preferredSingleSignOnMode eq 'saml'&$select=appDisplayName,preferredSingleSignOnMode

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

    If the above suggestion helps, please click on 'Accept answer' and 'upvote' it.


  2. Rukmini 1,416 Reputation points Microsoft External Staff
    2025-04-01T07:13:18.7933333+00:00

    Hello @D Kumar,

    To list of applications have configured SSO, you can make use of below query:

    
    https://graph.microsoft.com/v1.0/servicePrincipals?$filter=preferredSingleSignOnMode eq 'password' or preferredSingleSignOnMode eq 'saml' or preferredSingleSignOnMode eq 'oidc'&$select=displayName,preferredSingleSignOnMode, id, tags
    
    

    enter image description here

    The preferredSingleSignOnMode returns password, saml, notSupported, and oidc as values in the response. Hence to know which applications have configured SSO you need to include all kinds of SSO modes.

    You can also determine whether the application is configured as SSO or not by fetching the tags:

    • OAuth apps will have tags as WindowsAzureActiveDirectoryIntegratedApp
    • Gallery SAML Apps will have tag as WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1
    • Non-Gallery SAML Apps will have tag as WindowsAzureActiveDirectoryCustomSingleSignOnApplication

    The WindowsAzureActiveDirectoryIntegratedApp tag is common to all types of apps (like SAML and OAuth-based apps).

    If preferredSingleSignOnMode is null, then the application is not configured with any SSO. But you have to check the tags to confirm whether SSO is enabled or not.

    enter image description here

    Reference:

    servicePrincipal resource type - Microsoft Graph v1.0 | Microsoft Learn

    Hope this helps!


    If this answer was helpful, please click "Accept the answer" and mark Yes, as this can be beneficial to other community members.

    User's image

    If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.


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.