Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

TFS Repository Auth Error

ucas_sureshgurunathan November 27, 2020

We are using Bamboo +  “TFS Repository” Addon. We are getting “Access denied” error which connection. Please find the details below. Kindly check and share details to fix

 

TFS - https://test.visualstudio.com/ (Azure DevOps)

Auth – Azure AD based

 

Error:

error      27-Nov-2020 07:55:26    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.

error      27-Nov-2020 07:55:26    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TFSUnauthorizedException: Access denied connecting to TFS server https://test.visualstudio.com/ (authenticating as test@test.com)

error      27-Nov-2020 07:55:26                    at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141)

error      27-Nov-2020 07:55:26                    at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)

error      27-Nov-2020 07:55:26                    at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207)

error      27-Nov-2020 07:55:26                    at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)

error      27-Nov-2020 07:55:26                    at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123)

1 answer

0 votes
Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2020

Check that you are using your personal access token instead of a password. It's a base64 encoded string. Enter it into the password field.

ucas_sureshgurunathan November 27, 2020

@Sergey Podobry _Stellarity Software_  - I am using password. Do you want me to give base64 encoded password value in setting ?

Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2020

@ucas_sureshgurunathan Yes, create a personal access token and specify it instead of a password in the TFS Repository configuration.

ucas_sureshgurunathan November 27, 2020

@Sergey Podobry _Stellarity Software_  - Thank you for details. I have created personal access token and used. Still getting same error can you have a look ?

27-Nov-2020 13:39:26 Caused by: com.microsoft.tfs.core.exceptions.TFSUnauthorizedException: Access denied connecting to TFS server https://test.visualstudio.com/ (authenticating as test@test.com)
27-Nov-2020 13:39:26 at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:75)
27-Nov-2020 13:39:26 at com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23)
27-Nov-2020 13:39:26 at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:70)
27-Nov-2020 13:39:26 at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:645

Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2020

@ucas_sureshgurunathan Send to support@stellaritysoftware.com your zoom meeting id or teamviewer or skype. Whatever works for you best.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events