Jenkins can not connect Visual Studio Online(not git repository)

I have seen some techinical document and tried some scenario.
1. Alternative Authentication on my profile
    Usename(primary) is my company email address.
    Username(secondary) is none.
2. set jenkins setup for TFS plug-in
     Tema Foundation Server is https://xxxxxxxx.visualstudio.com
     Project path is $Benchmark/BuildProcessTempletes
     Login name is my compalny email address
     Password is NO1 specified.
3. execute build at jenkins and some error outputed.
     TF30063: You are not authorized to access https://xxxxxxxx.visualstudio.com
     FATAL: Executable returned an unexpected result code 100
     ERROR: null
off courese i can login the VSO with VS or browser.
How can i authorize Visual Studio Online from Jenkins?


this link give me a solution.
Basically, tf.exe which is bundled at Visual studio can not use VSO. Use Team Explore Anywhere.

Similar Messages

  • Can I give our AD users access to Visual Studio Online?

    Our AD is connected to our Azure Active Directory and synced via DirSync.
    Is it possible for me to give our AD users access to VSO and they use their organizational login credentials OR do they need to create Microsoft accounts?
    Our goal is single sign-on with our AD credentials. Please let me know if this is possible?
    Thanks, Sam

    Hi Sam,
    You can link your Visual Studio Online account with your Azure Activy directoy. Directory administrators control who joins the directory and has possible access to your Visual Studio Online account. The users can use Azure Active directory accounts
    to sign in Visual Stduio Online account. You can check this
    page for more information about manage organization access for your account.
    The numbers of users can access Visual Studio Online account depend on your license of Visual Studio Online account. You can add no more then 5 basic users and unlimited MSDN subscriptions if you have Basic license of Visual Studio Online account. Check
    this
    page for the pricing. However, you can assign team members stakeholder license if the users only view the project-level information. Check this
    page for more information about stakeholder license of Visual Studio Online.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't connect to visual studio online source control from vs 2010 ice starting today 1-23-2015

    apparently there has been a breaking change and I can no longer connect to my visual studio online account anymore through vs 2010 ice - i get this message when i try to connect to it in the ide
    Microsoft Visual Studio
    Error
    Team Foundation Server https://xxxxx.visualstudio.com/defaultcollection does not exist or is not accessible at this time.
    Technical information (for administrator):
      TF30064: You are not authorized to access the server.
    OK   
    I can log in manually with a web browser but I need to check in items from the ide - it worked this morning but stopped working this afternoon
    when i try to debug the webpage that comes up in ide to connect it says line 4 char 16405 error object doesn't support this property or method - code
    0  url https://apps.vssps.visualstudio.com/_status/tfs/20150123T002517/_scripts/TFS/Laoder.min.js do you want to continue running scripts on this page?

    Hi diakoniaus,
    For the situation, you can check if you have the need permissions to access the team project in Visual Studio Online.
    To make sure the permission of your credential, we can run tfssecurity command in VS command line to have a check. Please execute
    tfssecurity /imx “MS account” /collection:url, for more information about tfssecurity /imx, please refer to:
    http://msdn.microsoft.com/en-us/library/ms400806.aspx 
    If you have the corresponding, you can also have a try on other machines to see if it works for you. Or you can clean team foundation cache, delete cookies in browser and delete the credentials that saved in credential manager. Then reconnect to the team
    project via VS 2010. You can check the troubleshooting details in this
    thread.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Visual Studio Online does not support your browser. Please upgrade to a supported browser to ensure a fantastic experience" message with IE 11

    Hi All,
    I have recently migrated from TFS 2010 to TFS 2013. When developers are accessing TFS Web interface from IE 11 they are getting message "Visual Studio Online does not support your browser. Please upgrade to a supported browser to ensure
    a fantastic experience!" and page is not showing up correctly. I can open Web interface from Chrome without any issues. Also I figured out if I open Developer Tools (F12) in IE Web Interface also works fine and screwed up again
    when I close Developer Tools.
    What can be wrong with IE11 settings?
    Regards,
    Oleg

    Hi Oleg,       
    Thanks for your post.
    You’re using TFS 2013 Update 4 now?
    Please share your IE 11 screenshot within this error message here.
    Have you use the TeamCompanion in your TFS Server? If yes, please refer to the solution in this article:
    http://www.teamcompanion.com/blog/.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio Online can send you back to zero with one simple mistake.

    I was recently motivated by Microsoft team to move my code from other cloud services to Azure. I found out that it was very easy to make changes to the code using visual studio online until I lost all my code today and Microsoft team was unable to help me. 
    When you click git section and further click on 'intialize git' it brings all your code into a git, in case you don't like that and want to go back the moment you'll click 'undo all' you'll lose everything you have. I believe when someone clicks undo all
    the code must go back to explore where it initially was.
    I know many of you would think of me as a noob but there are millions like me who are not very familiar with visual studio online and if I've lost my code someone else might too. Only coders know what it means when you loose a live web app which has hundreds
    of beta testers on it. 

    i'm very sorry to hear that. I saw your tweet and provided my email address - I'd like to see if there's anything I can do to help.
    Also, if you haven't already, try a disk recovery tool to retrieve deleted files before (hopefully) they are overwritten in case we cannot come up with anything else.
    http://blogs.msdn.com/buckh

  • Error message when trying to access Code in Visual Studio Online project.

    I have been using visual studio online for a while. Last week I connected azure console to my visual studio online account so that I could add an additional person to one of my projects.
    After that, I create a new Git based project. From the outset in the outset, I have been receiving a message in code explorer in the new project:
    The items requested either do not exist on the server at the specified versions, or you do not have permission to access them.Hide details
    TFS.WebApi.Exception: The items requested either do not exist on the server at the specified versions, or you do not have permission to access them. at b.a._getFailedRequestError (https://*******.visualstudio.com/_static/tfs/20150113T200222/_scripts/TFS/min/corejs?v=RGgj5lMwHLD78kGD2wBxR4uHtflIGwSdmCEhWbtUphc1:52:3204)
    at https://*******.visualstudio.com/_static/tfs/20150113T200222/_scripts/TFS/min/corejs?v=RGgj5lMwHLD78kGD2wBxR4uHtflIGwSdmCEhWbtUphc1:52:2285 at b.a._handleRequestFailure (https://*******.visualstudio.com/_static/tfs/20150113T200222/_scripts/TFS/min/corejs?v=RGgj5lMwHLD78kGD2wBxR4uHtflIGwSdmCEhWbtUphc1:52:2931)
    at Object.<anonymous> (https://*******.visualstudio.com/_static/tfs/20150113T200222/_scripts/TFS/min/corejs?v=RGgj5lMwHLD78kGD2wBxR4uHtflIGwSdmCEhWbtUphc1:52:2225) at l (https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js:2:16996) at Object.c.fireWith
    (https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js:2:17783) at T (https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js:2:81036) at XMLHttpRequest.r (https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js:2:86563)
    Accessing the project from Git tools connected fine and I was able to commit successfully, however, I don't know if the code is in the repo, because I cannot browse it on the website. Am still getting the message above.
    I can explore code for any of my other project without issue. All but one of my projects is using git.
    Any ideas?
    Thanks

    Hi Richie42,
    I'd like to know whether you can push the commits to remote git repository, and when this issue occurred. When work with Git team project in Visual Studio Online, you have to clone the Git repository to local, and work with it.
    You can also check if your have permissions to this team project in security page of team web access. Or
    run
    tfssecurity command in VS command line to have a check. Please execute tfssecurity /imx “MS account” /collection:url, for more information about tfssecurity /imx, please refer to:
    http://msdn.microsoft.com/en-us/library/ms400806.aspx
    Another option is clean team foundation cache, delete credentials in credential manager and delete browser cookies. Restart the Visual Studio to have a try. If the issue persists, please elaborate more details about your scenario with the reproduce steps.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Network Issues with Visual Studio Online Application Insgihts

    My team is using Visual Studio Application Insights to monitor availability of our web server (we use cloud service)by making a call to it every 5 minutes from different locations around the world including Singapore, Japan, France and Switzerland.
    We experienced continuous failures of this monitoring from Singapore from September, 19-th and the issue became very big on September 21-st, September, 22-nd. After that on September, 23-rd and 24-th we have failures form Paris. Then starting from September,
    24-th to September, 26 we have very high percent of failures from Japan. Our problems finished with one more failure coming from Switzerland on September, 26.
    I wanted to find what the source of the problem is since we checked our code and it very simple to cause network issues. However, it is very difficult to reproduce the issue. My questions is - were all these problems coming from Visual Studio Online Application
    Insights?
    One example error that it is tracked in Visual Studio Online Application Insights is:
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
    connected host has failed to respond 138.91.9.51:8080
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    Thank you!
    Kanio

    Hello Kanio,
    There is nothing AI-specific in the stack, and, since the exception was reported to the portal, I would say that AI was working that time. However, if the issues goes away as soon as you disable AI - then it might mean that the issue is induced by AI presence.
    Also, you can try the latest AI SDK (0.13 as of today) and see if the issue still happens.
    Dmitry Matveev

  • Would I have tighter control with TFS as opposed to Visual Studio Online?

    We have developers from all over the world and I want to make sure that our code which is our company's intellectual property is as secure as possible. We're currently using Visual Studio Online but a potentially disgruntled developer can log into VSO and
    download our code into his/her local computer. I really want to prevent this scenario.
    Would I have tighter control and security by implementing our own TFS server in a VM on Azure?
    Thanks, Sam

    Here's further clarification of my scenario:
    First, we're entirely on Azure -- no on-premises network. We have a virtual network on Azure along with our ADs, VMs, etc. Our developers, both internal and external, use RemoteApp to write to their code so everything stays in the "cloud".
    The problem with Visual Studio Online (VSO) is that a disgruntled developer could use his/her login credentials to log into VSO and download the code into their local machine.
    Our objective is to keep everything that belongs to the company within our "virtual network" on Azure and NOWHERE ELSE.
    Correct me if I'm wrong but I think a traditional TFS approach -- running on a VM within our virtual network -- may give me tighter security due to the fact that there's no public "end point" where a developer can connect. Therefore we should be
    able to restrict code access to devices i.e. RemoteApp within our virtual network ONLY.
    Is that a fair assumption or not?
    P.S. I really don't want to manage yet another VM and we LOVE using services but I feel a service based approach such as VSO may not necessarily satisfy our security needs.
    Thanks, Sam

  • Release management with Azure and Visual Studio Online (Cloud TFS)

    What strategy would you use to manage the releasing of versioned software to Azure cloud services (web and worker roles)? We are not looking for continuous integration. We are using Visual Studio 2013 and Visual Studio Online (Cloud TFS).
    At one point, we were releasing straight from Visual Studio using the Azure Cloud Project Publish tool. This is really bad practice in my opinion as you can never be sure what you are really releasing. Additionally, there is no automated control on the labeling
    or branching of code, or the running of unit tests and code analysis checks.
    Next, we employed Release builds on Visual Studio Online. Before deployment, one would edit the appropriate Build Definition (whether it be for Test or Production by and filling in the code label (under the "Get Version" build property) that is to
    be released. This would then get the appropriate code (by the label specified), build it, and release it to whatever cloud service is specified in the targeted Cloud Project profile (this is using the AzureContinuousDeployment.11.xaml template).
    There is still a degree of manual intervention involved. Also, the fact that a version of code is built every time before it is released is not ideal (as far as I understand it would be better if it was packaged once).
    Microsoft Release Management tools
    look ideal for the job, but are not supported with Visual Studio Online.
    Is there a better way of handling our releases?

    /waves hand.. These are not the tools you seek. You are looking for continuous integration.
    Although CI has the word continuous in there, it does not mean "all the time, every checkin". It can easily refer only to those bits you want to release - -and the way to tell the system which bits you want released is to merge them to a Releases
    branch.
    If you do this, not only do you get all the joy of controlled CI, but you guarantee what you release is exactly what is controlled in your SCM - under the Releases branch, preferably tagged or otherwise noted as a particular release. That means you can also
    rollback to a previous release by simply reverting to a previous release in your SCM!
    Of course you don't have to let it happen automatically, you can set it up to build 'continually' and then remove the check on the SCM to see if any changes have been committed. You can replace this with the manual build button.

  • Remove test run from Load Test Manager in Visual Studio Online Load Testing

    I have been using the Visual Studio Online Azure load testing for a while now, and I have a number of test runs that I would like to remove.  I am not referring to my local Load Test Results Store (on-premise SQL DB), as I can remove test runs no problem.
     I mean, how to remove them from "the cloud" so we can no longer re-download the test results.  

    Hi David,
    As far as I know, it's not supported for Visual Studio Online to run load tests for solutions hosted on GitHub. You can submit a user voice
    here.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • From Windows Azure `Edit in Visual Studio Online` ; Unclear On Which Login To Use

    I have created a web site in Windows Azure and linked my site to `Visual Studio Online` where I can do automated builds upon checkin and all works.
    Now from Azure's dashboard on the site I am presented with the option to edit it in Visual Studio Online:
    But then I am confronted with a user authentication page.
    Which credentials are to be used?
    How are the provisioned exactly? 
    If they are not a windows live id...why not?
    William Wegerson (www.OmegaCoder.Com)

    Hi,
    From the image you provided, it seems like you need credential to sign in ***.scm.azurewebsites.net, please kindly read the following article.
    #http://blogs.msdn.com/b/windowsazure/archive/2014/03/04/windows-azure-websites-online-tools-you-should-know-about.aspx
    Here is a snippet:
     simply browse using your favorite internet browser to https://{site name}.scm.azurewebsites.net (in other words, add
    .scm in front of the site name). Upon entry, you will be asked for credentials and those will be the same as your deployment credentials. If you have never set up your deployment credentials, you can open your site’s dashboard
    in the Azure Portal and click Set up deployment credentials. If you already have deployment credentials but do not remember them, you can use the dashboard to reset them
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure websites continues deployment using visual studio online doesn't work

    Hello!
    I have an issue with continues deployment in Azure. I have two subscriptions for my project. I created the team project in Subscription 1 & done the automatic deployment using GITContinuesDeployment. Everything is fine but while I changed the subscription
    I can't do the automatic deployment since the Team project can't be find. The question is how can I do the deployment? I get the following error:
    An attempted http request against URI https://management.core.windows.net/....../publishxml returned an error: (404) Not Found.
     Exception Message: One or more errors occurred. (type AggregateException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.ProcessAggregateException(AsyncCodeActivityContext context, AggregateException ag)
       at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
    Inner Exception Details:
    Exception Message: One or more errors occurred. (type AggregateException)
    Exception Stack Trace:    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Inner Exception Details:
    Exception Message: An attempted http request against URI https://management.core.windows.net/.../publishxm
    If I check Azure website also in Subscription 2, I can't find the Team project also from Subscription 1 even If I can see the subscription 1& 2 under services in Visual studio online 
    returned an error: (404) Not Found. (type HttpRequestWithUriException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Deployment.Workflow.Activities.GetAzureWebsitePublishProfile.<>c__DisplayClass2.<GetApiTask>b__0(Task`1 returnTask)
       at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Does anyone have the solution for that?
    Regards,
    Maryam

    Note that the better forum to directly reach the Visual Studio Online experts is
    here. A forum admin may be able to move the post to the right place.

  • Visual Studio Online Build Failure - Unable to copy file, access to directory is denied

    Hi,
    I have an ASP.Net Web Site that compiles and builds with no errors on my local machine.
    However when I attempt to build the site using default build definitions/configurations within Visual Studio Online and deploy to an Azure Website / App Service I receive the following errors:
    C:\a\src\House of Canine\HouseOfCanine_1_.metaproj: Unable to copy file "C:\a\src\House of Canine\HouseOfCanine\Bin\AjaxControlToolkit.dll" to "HouseOfCanine\\Bin\AjaxControlToolkit.dll". Access to the path 'HouseOfCanine\\Bin\AjaxControlToolkit.dll' is denied.
    Where, I assume, the directory "C:\a\src\House of Canine..." refers to the Visual Studio Online Directory and the directory "HouseOfCanine\\Bin\Ajax..." refers to the Azure Website directory. 
    This error is repeated for a number of other .dll files in the Bin folder and if I look at the diagnostics tab for the failed build on VSO, I can see that it is where it attempts to copy the binaries to the "drop" where the error fails.
    Any advice much appreciated,
    Ross
    Update
    MSBuild Error Code: MSB3021
    It seems the permissions are not set correctly for the DLLs in the Bin folder however I cannot change the permissions of the files on Visual Studio Online. Any ideas?

    Hi Ross,
    Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Visual Studio Online incorrectly assigns stakeholder licenses to MSDN subscribers

    We recently added on our Active Directory for Visual Studio Online. This has caused numerous challenges including a few folks with valid MSDN subscriptions stilling showing as stakeholders and thus preventing the ability to check in code. This has become
    so disruptive we started scaling licenses in Azure to be able to check in code.
    When I log into msdn.microsoft.com, I see the below error text. 
    Duration (Pacific Standard Time): <label id="datestart" style="margin:0px 10px 0px 0px;padding:0px;border:0px;outline:0px;line-height:14.9760007858276px;background:transparent;">Thursday, March 5, 2015 12:20:00
    PM</label>
    To (Pacific Standard Time): <label id="dateend" style="margin:0px 10px 0px 0px;padding:0px;border:0px;outline:0px;line-height:14.9760007858276px;background:transparent;">Friday, March 6, 2015 7:00:00 AM</label>
    Impact:
    - There may be intermittent service interruptions
    User Action:
    - We are working to get this issue resolved. Thank you for your patience.
    This message is incomplete and I do not know if the challenges we are facing are related to the outage.
    What is the current MSDN downtime problem and where can I go to get more detail in the future?
    Any ideas why our eligible MSDN subscribers are still showing as stakeholders (if not related to the MSDN downtime problem)?

    Hi smmullen,
    Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Type of license to be purchased for Visual Studio 2013 to be used with Visual Studio Online Subscription

    Dear Sir/Madam,
    For commercial use, I have subscribed for Visual Studio Online. To work with .NET code on my local machine, what type of Visual Studio license do I need to purchase/install locally. It gives me two options to download on home page. 1) Visual Studio
    2013 Community Edition 2) Visual Studio 2013 Ultimate Edition
    I am more interested to that can I use "Visual Studio 2013 Community Edition" with VS Online subscription for commercial use? If not then what type of Visual Studio edition do I need to purchase to use with VS Online subscription?
    Thank you
    Uday

    Hi,
     For Best answer to your question, i would suggest you contact a Support Professional from the Microsoft Billing Department.
     You can create a free Support ticket for the same here :
    http://azure.microsoft.com/en-in/support/options/
     Or you can also contact a Microsoft Licensing Specialist : 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time)
    Regards,
    Nithin Rathnakar.

Maybe you are looking for

  • Remote app and home sharing

    remote app & home sharing worked on my new iPad (3rd gen) but did not work on my iPhone 4. this went on for a week or so but now both of them (remote app and home sharing) work on my iPhone but stopped working on iPad. I tried re installing itunes to

  • Help to upgrade to Mac OS X From Mac OS 9.2.2

    Hi Mac World Some years ago I parched from then the company (XLR8) an upgrade MACh Speed G4z w/MVP™ CPU ZIF 500 MHz Doughtercard for my Mac Blue and White G3 OS9 to upgrade it to a G4 with the same OS9. (Now upgraded to OS 9.2.2). Now I would like to

  • In my hp 4530 one speaker is not working.?

    when i was listening music one speaker had been disappear. plz tell me soltion . i have install driver again the problem not solved

  • Trying to call support on new iPad.

    I get this:  We're Sorry Required token is missing from the request. What is this?

  • Color OneScanner problem

    Hi, I have a Color OneScanner (with a terminator) and I'm trying to connect it to a Mac Classic. When I run applescan application, it gives me a report that it can't find any scanners. Do I need some additional software or something?