Get-MgApplicationSAML
SYNOPSIS
Retrieves all Entra ID applications configured for SAML SSO.SYNTAX
All (Default)
ByObjectId
ByDisplayName
DESCRIPTION
This function returns a list of all Entra ID applications configured for SAML Single Sign-On along with their SAML-related properties. Each row represents one certificate, so an application with several certificates appears on several rows. TheCertificateType column says which:
- SAML signing : the certificate Entra signs the SAML tokens with (service principal, KeyCredential with Usage ‘Sign’)
- SAML verification : the service provider’s public key Entra checks signed SAML requests with (app registration, KeyCredential with Usage ‘Verify’)
- Token encryption : the service provider’s certificate Entra encrypts the SAML tokens with (app registration, KeyCredential with Usage ‘Encrypt’)
CertificateIsActive column says whether the certificate is in use:
- SAML signing : True for the certificate of preferredTokenSigningKeyThumbprint (or, without it, of preferredTokenSigningKeyEndDateTime). With neither, every one is True.
- SAML verification : True while signed requests are required (requestSignatureVerification)
- Token encryption : True for the certificate named by tokenEncryptionKeyId