vRO git integration cannot add repository with Azure Devops TFS GIT
search cancel

vRO git integration cannot add repository with Azure Devops TFS GIT

book

Article ID: 341949

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • When adding a new remote repository in vRO, validation fails due to not authorized. 
  • You may see the error 'not authorized' in the notification bar.
  • We can confirm that by checking the logs:
[RepositoryValidator] Repository validation result: <remote repository fqdn> not authorized


Environment

VMware vRealize Orchestrator 8.x
VMware vRealize Automation 8.x

Resolution

To successfully add Azure DevOps TFS GIT we have to register it using an SSH connection.

To resolve this, complete the following steps:
  1. Copy the git SSH URL from Azure DevOps TFS GIT remote repository.
URL can be formatted like: git@<fqdn>:<user>/<repository name>.git or ssh://git@<fqdn>/<user>/<repository name>.git
  1. From the vRO UI click on Git Repository from the left menu, on the new page click add the repository.
  2. In the 'Repository URL' paste previously formatted URL, a new field with the button should be present 'Public key'.
  3. Copy the public key and add/register it Azure DevOps TFS Git.
For more information see Use SSH key authentication.
  1. After adding the ssh key to Azure DevOps GIt go back to the vRO 'adding git repository' page and click the validate button the successful message should pop up.