Need to confirm if this command <Add-AzServiceFabricClusterCertificate> is completely unavailable

Sun Tongxin3 20 Reputation points
2024-05-27T03:05:52.7733333+00:00

We have been using this command to update our cluster certificate before, and we noticed a prompt that this command has been deprecated, but it has been working normally. I have found that this command cannot return correctly in the past few days of use. I would like to confirm if it is completely unavailable.Thanks

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,575 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,316 Reputation points
    2024-05-28T07:58:49.4166667+00:00

    Hello Sun Tongxin3

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Please kindly avoid using the command Add-AzServiceFabricClusterCertificate to apply the certificate upgrade/change on any production environment.

    As mentioned here(https://learn.microsoft.com/en-us/powershell/azure/migrate-az-6.0.0?view=azps-12.0.0&viewFallbackFrom=azps-11.5.0#add-azservicefabricclustercertificate), this command has already been removed. So there will not be any further upgrade/maintenance about this command.

    The official recommended way of upgrading cluster certificate is in this document (https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-security-update-certs-azure#add-a-secondary-certificate-using-azure-resource-manager).

    Hope this helps.

    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.