How to generate a report for the list of all enterprise application that is using a single sign on (SSO)

JYLVEN TARRAJA 80 Reputation points
2025-01-30T05:02:33.4+00:00

Please asking for your help on how to generate a report to view the list of all Enterprise applications using a single sign on authentication via in a powershell.

Thank you in advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,928 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,612 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,782 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,074 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. PaVee SK 0 Reputation points
    2025-01-30T05:42:41.7766667+00:00

    You can try the query below in Graph Explorer as either an application or global admin.

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

    0 comments No comments

  2. Harshitha Eligeti 1,455 Reputation points Microsoft Vendor
    2025-02-01T18:15:26.6233333+00:00

    Helo @JYLVEN TARRAJA,

    Thank you for reaching out Microsoft Q&A.

    I Understand you want to generate generate a report for the list of all enterprise application that is using a single sign on (SSO) using PowerShell.

    You can follow the bellow mentioned steps to Achieve:

    Step1: Open PowerShell as Administrator

    Step2:

    User's image

    Use the below Command:

    Get-AzADServicePrincipal -Filter "preferredSingleSignOnMode eq 'saml'"
    

    NOTE: If you are getting error while using Connect-AzAccount module then you have to install a module command:

    Install-module az
    

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Regards,
    Harshitha Eligeti.

    0 comments No comments

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.