Scale set using keyvault in another region

前端 未结 3 1714
名媛妹妹
名媛妹妹 2021-02-06 15:50

I\'m working with an ARM template that creates a VM Scale Set for a Service Fabric cluster and associates some secrets with the VMs from a keyvault. I discovered this morning th

3条回答
  •  甜味超标
    2021-02-06 15:53

    To overcome the problem you may simply want to apply a simple fix

    Get-AzVM -ResourceGroupName "rg1" -Name "vm1" | Remove-AzVMSecret | Update-AzVM
    

    This will remove the earlier secret and reissue a new one so that your vm is back in provisioning state.

提交回复
热议问题