In Azure DevOps, new variable group creation, the Authorize button for selected key vault has a bug

MS Admin AZ 0 Reputation points
2025-10-30T23:32:16.78+00:00

In Azure DevOps, when creating a new variable group, after clicking the Authorize button for selected key vault, it does not let me save the settings.

Note that after clicking the Authorize button, it did successfully grant the DevOps service connection the Get, List secret permissions in the key vault's access policy. This means the key vault has the proper secret permissions and the DevOps service connection is able to connect to the key vault with no issue. This rules out any network or firewall issue.

The bug is that Azure DevOps does not proceed after the Authorize is completed. So the new variable group creation cannot be saved with the key vault connection.

Azure DevOps
{count} votes

1 answer

Sort by: Most helpful
  1. MS Admin AZ 0 Reputation points
    2025-10-31T03:13:09.9166667+00:00

    Thanks for the info.

    Yes, the Azure DevOps service connection has both Get and List permissions on the Azure Key Vault. (In fact, we already have other pipelines accessing the key vault already via this same service connection.) I can confirm seeing the service principal with Get, List permissions in the key vault's access policy.

    Key vault is not empty.

    When creating the Variable Group to link to the key vault, I clicked Authorize which re-granted the service principal to have Get, List access and shows correctly in the key vault's access policy. This is the point where it is stuck. The Save button is still grayed out.

    The reason I know that after clicking the Authorize button, it can grant the service principal with Get, List access in the key vault's access policy. As a test, I deleted this item from the access policy (as mentioned it was already there). Then I clicked the Authorize button and saw it created the Get, List access for the service principal in the access policy. This confirms the service connection is working and the access policy is correct, it still doesn't let me proceed. The Save button is still grayed out.

    This looks like a bug.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.