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)
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ucas_sureshgurunathan Yes, create a personal access token and specify it instead of a password in the TFS Repository configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ucas_sureshgurunathan Send to support@stellaritysoftware.com your zoom meeting id or teamviewer or skype. Whatever works for you best.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.