Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    TFS (VisualStudio.com) Source Control Provider Authentication Issues

    Scheduled Pinned Locked Moved Support
    buildmastertfs
    5 Posts 1 Posters 27 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I have a VisualStudio.com source control provider setup, and with the 4.2.1 update (after updating from 4.1.7), I get an error after one or two interactions with TFS. Most of the time, the "label" operation succeeds, but the "get label" operation always fails. I would occasionally receive this error in the past, but now it happens on every integration build and all projects have stopped working.

      I changed the account (username and password) the provider uses, and that did not work. I also deleted the provider, recreated it, and updated the build scripts to use the new provider, but that did not work either. In all cases, the "Test Connection" function of the provider has always come back with a "Connection successful!" message.

      This is the error I receive:

      An unhandled exception occurred while executing this action: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access https://********.visualstudio.com/. at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteCommandExecuter.ExecuteCommand(RemoteActionBase remoteAction, String commandName, String[] commandArgs) at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteCommandExecuter.ExecuteCommand(RemoteActionBase action, String commandName, String[] commandArgs) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args) at Inedo.BuildMaster.Extensibility.Actions.ProviderBasedAction`1.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

      Product: BuildMaster
      Version: 4.2.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        I logged onto the server, launched Visual Studio, and logged into TFS via Visual Studio. Everything began working at that point.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          We have the same problems related to this error.
          After upgrading to version 4.3.8, we upgraded the Agents and tried to rebuild our plans.
          The connections worked fine (although they say they are)
          But after we tried to run and plan, we experienced the same error.

          Restarting VS2012 would solve the problem.

          Please help.
          We are stuck at the moment.

          Kind regards
          Martin van Berkel


          Error message :

          ERROR: An unhandled exception occurred while executing this action: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access http://xxxxxx:8080/tfs/Aquapro/. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
          at System.Net.HttpWebRequest.GetResponse()
          at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
          --- End of inner exception stack trace ---
          at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteCommandExecuter.ExecuteCommand(RemoteActionBase remoteAction, String commandName, String[] commandArgs)
          at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteCommandExecuter.ExecuteCommand(RemoteActionBase action, String commandName, String[] commandArgs)
          at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args)
          at Inedo.BuildMaster.Extensibility.Actions.ProviderBasedAction`1.Execute()
          at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Martin,

            The TFS provider hasn't really changed recently, so it's most likely a server configuration issue. What version of the BuildMaster software did you upgrade from - to, and what version of the TFS extension did you upgrade from - to?

            Also, double-check the credentials in the source control provider are set correctly.

            Note that connections to TFS are now made by the BuildMaster service instead of the web application - so make sure that the credentials used to log-on for that service are authorized.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Hi Tod,

              We upgraded from an older version, 3.6 to 4.3.8.
              The feature "Update Checklist" is a nice one and at the moment "all green".
              Execpt for one issue, the "Test your deployment plans".

              On our server we are running TFS 2010, version 10.0.30319.317.
              In Buildmaster we added the TFS2012 extension.

              Regarding your last remark "connections to TFS are now made by the BuildMaster service instead of the web application", do you mean by this that the "service-user"should have acces now to TFS ?

              Kind regards
              Martin

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation