Getting of Notification Email using Powershell Script from Azure SAML Applications

user20201 326 Reputation points
2024-07-23T10:39:34.1+00:00

How can we get the Notification Email (see image attached) using Powershell script in Microsoft Entra ID SAML applications whose certificates are near expiry within 60 days? Currently, we can get the Key Credentials of each SAML Applications, but we cannot get the email address?

SAML Email

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,606 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 145.1K Reputation points MVP
    2024-07-23T11:03:22.71+00:00
    Get-MgServicePrincipal -All -Property ID, notificationEmailAddresses, DisplayName  | select ID, DisplayName, @{Name=’emailaddresses’;Expression={$_.NotificationEmailAddresses -join “;”}} 
    
    0 comments No comments

0 additional answers

Sort by: Most helpful