//Cloud notes from my desk -Maheshk

"Fortunate are those who take the first steps.” ― Paulo Coelho

[AzureKeyVault] Error when adding cert to VMSS

Recently I had this error after adding newly created KV secret having cert to VMSS using PS. First I did not get sense out of this, but on close look it turns to be a simpler one.


Key Vault https://xxxx.vault.azure.net/secrets/certswaptest0001/defxxxxbc either has not been enabled for deployment or the vault id provided, /subscriptions/38e1xxx-xx-xx-a931-xxx/resourceGroups/certswaptestKeyVaultGroup/providers/Microsoft.KeyVault/vaults/certswaptestKeyVault, does not match the Key Vault’s true resource id.

Resolution :-

The key vault must be enabled for deployment to allow the compute resource provider to get certificates from it and install it on virtual machine instances:

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-via-arm  (Search for EnabledForDeployment)

you can try this in PS or portal as below.

New-AzureRmKeyVault -VaultName ‘mywestusvault’ -ResourceGroupName ‘westus-mykeyvault’ -Location ‘West US’ –EnabledForDeployment


2017-06-17 Posted by | Azure Keyvault | Leave a comment

[Azure Service Fabric] How to launch Local cluster manager without Visual Studio

Recently I had this problem where my local cluster manager got disappeared from system tray without clue. I tried loading Visual studio and ran SF project to bring it back which is time consuming for a simple demo.

Problem:- Is there a way to launch only the cluster manager without visual studio?

Answer:- Yes, we can do that by simply running “ServiceFabricLocalClusterManager.exe” exe from run prompt. 



To get this exe, we need to install the SDK http://aka.ms/ServiceFabricSDK and navigate to this path “C:Program FilesMicrosoft SDKsService FabricToolsServiceFabricLocalClusterManager.exe”. Btw, ServiceFabricLocalClusterManager.exe is required to manage our local dev cluster.

2017-06-14 Posted by | .NET, Azure, ServiceFabric, VS2017 | | Leave a comment


%d bloggers like this: