msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Get-MgBetaServicePrincipal returns wrong PreferredTokenSigningKeyEndDateTime values

Open Jbmainson opened this issue 2 years ago • 1 comments

In order to get the expiration date of SAML certificates, i'm using 'Get-MgBetaServicePrincipal' to retreive PreferredTokenSigningKeyEndDateTime value for all the apps:

2024-01-17_15h59_29

For some applications, the value returned by the cmdlet is not accurate:

2024-01-17_16h02_10

The cmdlet Get-MgServicePrincipal doesn't return PreferredTokenSigningKeyEndDateTime property.

Jbmainson avatar Jan 17 '24 15:01 Jbmainson

Any news ?

Jbmainson avatar Jun 05 '24 12:06 Jbmainson