Azure / Azure/azure-powershell

Example New-AzApiManagementBackendServiceFabric does not set serverX509Name issuerCertificateThumbprint

Open
#15,874 4 comments 0 reactions 1 assignee Assigned to @mikebudzynski View on GitHub
act-observability-squad API Management customer-reported question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

https://github.com/Azure/azure-powershell/blob/main/src/ApiManagement/ApiManagement/help/New-AzApiManagementBackendServiceFabric.md#example-1-create-a-backend-service-fabric-in-memory-object

Results in a issuerCertificateThumbprint value of "System.Object[]"

PS C:\>$serviceFabric = New-AzApiManagementBackendServiceFabric -ManagementEndpoint $ManagementEndpoints -ClientCertificateThumbprint "33CC47C6FCA848DC9B14A6F071C1EF7C" -ServerX509Name @{"CN=foobar.net" = @('33CC47C6FCA848DC9B14A6F071C1EF7C'); } -ServerCertificateThumbprint $ServerCertificateThumbprints

-ServerX509Name @{"CN=foobar.net" = @('33CC47C6FCA848DC9B14A6F071C1EF7C'); } should be
-ServerX509Name @{"CN=foobar.net" = "33CC47C6FCA848DC9B14A6F071C1EF7C"; }

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.