Get-AzKeyVaultCertificate returns no SubjectAlternativeNames (DnsNameList) in Powershell 7.4/7.5 #27403
Labels
Azure PS Team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
KeyVault
Description
I discovered that - no matter which module version, the command Get-AzKeyVaultCertificate returns an empty array for the SubjectAlternativeName (DnsNameList) field in Powershell 7.4.*/7.5:
Output Powershell Version 5.1 (works as expected):
Output Powershell Version 7.4.7 (DnsNameList empty):
Output Powershell Version 7.5.0 (DnsNameList, EnhancedKeyUsageList empty):
Is there anything I'm missing? The debug output of the command looks the same in 5.1/7.x - even the san_name array field is returned but not showing in the final console output.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: