Book a Demo

Author Topic: Error when connecting to Azure Devops via tf.exe  (Read 7097 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Error when connecting to Azure Devops via tf.exe
« on: October 24, 2019, 06:31:55 pm »
We are migrating from an on-premise TFS server to an Azure Devops service.

This all seems to work out just fine, except for the login part. When we configure the version control configuration in EA we get an error saying:
"TF30063: You are not authorized to access dev.azure.com/our-project"

We managed to get past this by executing "tf get" from the command line. If the credentials are nog yet know then a windows login dialog pops up where we can enter name and password.

After doing that we can use TFS from EA without a problem, until changing the windows password, or after a certain time. (I guess the credentials are cached for a while, but then expire or something)

It would be great if EA could trigger the login dialog if the credentials need to be renewed. (like the comand "tf get" does)

Reported

Geert

Eric Beser

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Error when connecting to Azure Devops via tf.exe
« Reply #1 on: December 24, 2019, 11:52:40 pm »
Geert

Do you have a script that works with Azure Dev Ops?  I am not able to connect our Dev Ops instance.

Have a very Merry Christmas

Eric

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Error when connecting to Azure Devops via tf.exe
« Reply #2 on: December 25, 2019, 12:42:27 am »
This is the script that is executed automatically by EA-Matic
https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/EA-Matic%20Scripts/Log%20into%20TFS.vbs

If you need to login again, then you need to reload EA as well.

Geert

Eric Beser

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Error when connecting to Azure Devops via tf.exe
« Reply #3 on: December 27, 2019, 10:37:02 pm »
Hi Geert

This looks like the on prem version of Azure Dev Ops.  We are using the online version.  Do you know how we can use the online version?