Other background info is that the keyvault and the...
# general
b
Other background info is that the keyvault and the resource group were moved to another subscription between when the code worked and now. So I'm using this to attempt to import it back in:
Copy code
var keyVault = new KeyVault(globalRegion.Configurator.GetKeyVaultName(), new KeyVaultArgs
            {
                Name = globalRegion.Configurator.GetKeyVaultName(),
                Location = globalResourceGroup.Resource.Location,
                ResourceGroupName = globalResourceGroup.Resource.Name,
                TenantId = globalRegion.SharedConfig.TenantId,
                SkuName = "standard",

                //acc
                EnabledForDiskEncryption = true,
                EnabledForDeployment = true,
                EnabledForTemplateDeployment = true,
            }, new CustomResourceOptions
            {
                ImportId = NvpConfig.GlobalKeyVaultResourceId,
                Provider = azProvider
            }
);