Reputation: 151
On browsing disabled secret version, getting error "Either this secret is disabled or you do not have the "Get" secret permission". I have full permissions on secret (checked thru Access Policies). Any help on how to enable older version again?
Upvotes: 15
Views: 9206
Reputation: 91
Try enabling the Secret Version using Cloud Shell
Set-AzKeyVaultSecretAttribute -VaultName 'MyKeyVault' -Name 'MySecretName' -Enable $True -Version 'NumberOfVersion'
This worked for me
Upvotes: 1
Reputation: 174467
You should be able to enable it by right-clicking on the disabled version in the list and choosing "Enable"
Upvotes: 44