Migrating Azure DevOps Service Variable Group backed by Azure Key Vault #1628
Answered
by
MrHinsh
Chryogenic
asked this question in
Q&A
-
Unable to migrate variable group that has been backed by Azure Key Vault. Service connections will be migrated manually with the same names & set up with correct RBAC access to Key Vault. (which is why I have set MigrateServiceConnections is set to false). I'd expect that when the script sets up the variable group it would use the new service connection and be able to create the Key Vault backed Variable Group. [09:53:55 ERR] Error migrating VariableGroups: kv. Please migrate it manually.
Url: POST <redacted>//ben-test-migrations/_apis/distributedtask/variablegroups/
{"$id":"1","innerException":null,"message":"8385e02b-df7c-4325-a6d3-53d2fede6754 service connection used in variable group is not shared with project ben-test-migrations. A service connection Administrator should share it with project ben-test-migrations before sharing the variable group with project ben-test-migrations.","typeName":"Microsoft.TeamFoundation.DistributedTask.Server.Exceptions.InvalidRequestException, Microsoft.TeamFoundation.DistributedTask.Server","typeKey":"InvalidRequestException","errorCode":0,"eventId":3000} |
Beta Was this translation helpful? Give feedback.
Answered by
MrHinsh
Aug 8, 2023
Replies: 1 comment
-
As per the error you need to migrate the KeyVaut manually and then run again. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MrHinsh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per the error you need to migrate the KeyVaut manually and then run again.