diff --git a/module/Entra/Microsoft.Entra/CertificateBasedAuthentication/Get-EntraUserCertificateUserIdsFromCertificate.ps1 b/module/Entra/Microsoft.Entra/CertificateBasedAuthentication/Get-EntraUserCertificateUserIdsFromCertificate.ps1 index ce02216db1..d9033eec78 100644 --- a/module/Entra/Microsoft.Entra/CertificateBasedAuthentication/Get-EntraUserCertificateUserIdsFromCertificate.ps1 +++ b/module/Entra/Microsoft.Entra/CertificateBasedAuthentication/Get-EntraUserCertificateUserIdsFromCertificate.ps1 @@ -65,7 +65,6 @@ function Get-EntraUserCertificateUserIdsFromCertificate { return "" } - [System.Array]::Reverse($littleEndianSerialNumber) $hexString = -join ($littleEndianSerialNumber | ForEach-Object { $_.ToString("x2") }) return $hexString } @@ -177,4 +176,4 @@ function Get-EntraUserCertificateUserIdsFromCertificate { # Call main function return Main -} \ No newline at end of file +}