Skip to Content
Technical Articles
Author's profile photo Mathew Davis

How to connect corporate git(Azure TFS) in Business Application Studio

Steps to connect corporate git(Azure) from BAS account.

  1. Initially, we need to setup connection in cloud connector for git.
  2. Configure destination in BTP cockpit
  3. Create a PAT token from your Azure account – Security. (Provide full access, atleast for initial testing.)
  4. Convert <Azure user id>:<PAT Token> as base64 .
  5. Go to BAS and open file /home/user/.gitconfig and add below.
    [http]
        extraHeader = Authorization: Basic bEF0aVV3LmRhdmlzOml8ZXc9YxZ2ZnViN2FxM4k1M3I1aWNlehRzdGVyZmxqZHVvY5p1MjNjZnQyN2E1amxnNWE=​
  6. Create a repository in Azure TFS and try to clone in BAS .

 

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Yogananda Muthaiah
      Yogananda Muthaiah

      Mathew Davis

      Thank you for writing a great blog, Could you describe more steps or process in your blog as it looks to be very small content.

      Author's profile photo Deepak Rajan
      Deepak Rajan

      Hi Mathew,

       

      Thanks for the blog. I'm just adding more details to the blog.

      If anyone is still facing issue in connecting TFS to cloud connector or BTP, please try the below steps:

      Steps to connect TFS Git to your BTP trial account:

      1. Download the certificate which you are using to access the TFS page

      Go to your TFS page in edge private window and click on the site details icon.

      Then click on connection is secure.

      Click on show certificate

       

       

       

      Click on details and export the certificate as DER file

       

       

       

       

       

      2. Add certificate to cloud connector.

      Now go to cloud connector-> Configuration->On premise->allowlist and add the downloaded certificate

       

       

      3. Add TFS system to the cloud connector

      Add TFS system to the cloud connector by specifying the host and port and other details like below

      Now check your tfs connection is reachable in cloud connector

      4. Add destination to BTP trial account.

      Add destination in BTP trial account and check the connection in Trial account

      In the url enter the url in https://<hostname>:<port> format

       

      Then follow the steps from Mathew to add the authentication. After that the projects can be pushed to git using the terminal from business application studio.