This is probably more of a VSTS thing than ServiceFabric, however I was trying to execute your script from VSTS as an inline powershell task. I can clone your repo, import your module and execute the script. However I get an Access Denied in KeyVaultDataServiceClient.SetSecret. I have also gone to the KeyVault and added the Microsoft.VisualStudio.Online Application Name in the Access Policies. Will I have to interact with KeyVault in a different way if I am using a ServicePrincipal?
This is probably more of a VSTS thing than ServiceFabric, however I was trying to execute your script from VSTS as an inline powershell task. I can clone your repo, import your module and execute the script. However I get an Access Denied in KeyVaultDataServiceClient.SetSecret. I have also gone to the KeyVault and added the Microsoft.VisualStudio.Online Application Name in the Access Policies. Will I have to interact with KeyVault in a different way if I am using a ServicePrincipal?