12

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?

1 Answers1

37

You should be able to enable it by right-clicking on the disabled version in the list and choosing "Enable"

Daniel Hilgarth
  • 171,043
  • 40
  • 335
  • 443
  • 11
    Thank you! Why the switch enable/disable does not work? How a user suppose to know to right click there? rhetorical questions – Michael Chudinov Feb 18 '21 at 13:33
  • 2
    Not theoretical questions. These are REAL questions. – AlvinfromDiaspar Apr 22 '21 at 18:02
  • And we should also be able to see the value in the portal, and only deny API/SDK access. Not an absolute mask! – mckenzm Dec 14 '22 at 04:39
  • 2
    This worked only if I Enable the Current version. If I try Enabling an older version instead of the Current, the secret still remains disabled. It seems you cannot return to an older version by making it enabled. Instead, you have to add a new version with the same value that an older version had. That's a bit counterintuitive. – JustAMartin Mar 10 '23 at 13:54
  • Wish Azure made this clear even a little bit...at least you did! – jimh Jun 09 '23 at 03:00
  • 1
    @JustAMartin - I was able to enable an older version today, so looks like it might've been an issue that's since been fixed. – Oliver Nicholls Jun 14 '23 at 16:08