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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

TFS Repository Auth Error

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

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.

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

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

@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

@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
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

464 views 5 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you