Skip to content

Conversation

@reshmee011
Copy link
Collaborator

@reshmee011 reshmee011 commented Oct 26, 2025

Possible fix for #5130 to cater for french language until we find out how to cater for multiple languages.

Type

  • Bug Fix

Related Issues?

Fixes #5130

What is in this Pull Request ?

Please describe the changes in the PR.
Minor change to the GetAzureCertificate to cater for french language.

Where(n => n.Oid.Value== "2.5.29.17")

…out how to cater for multiple languages.
@educos-35
Copy link

I think that it would be better to retrieve the correct oid using the Value property instead of friendlyName.
The value is normalized and is in this case 2.5.29.17..
So I suggest: .Where(n => n.Oid.Value== "2.5.29.17")
And it will be independant of localized language of OS.

@reshmee011
Copy link
Collaborator Author

@educos-35 : I agree , thanks.

@reshmee011
Copy link
Collaborator Author

I made the suggested change and tested it successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Exception when running New-PnpAzureCertificate

2 participants