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.