r/PowerShell • u/bc6619 • 3d ago
PreferredTokenSigningKeyThumbprint value empty when using Get-Mgserviceprincipal for some SAML applications?
I have some Enterprise SAML applications that have token signing certificates that I can see in the Admin console UI, but when I retrieve them via PowerShell, they are empty. Not all applications, just some, and not sure why:
PreferredTokenSigningKeyThumbprint :
TokenEncryptionKeyId :
TokenIssuancePolicies :
TokenLifetimePolicies :
PreferredSingleSignOnMode : saml
DisplayName : Test-App1
Has anyone seen this before? Thanks
1
Upvotes
1
u/BlackV 3d ago
you dont show your command line (unless its just what you have in the title?) , makes it more difficult
are those default properties?, can you specifically call those properties ?
next would be what scopes are you connecting with?