vscode-pull-request-azdo icon indicating copy to clipboard operation
vscode-pull-request-azdo copied to clipboard

Sign In button does nothing

Open djbelknapdbs opened this issue 4 years ago • 5 comments

  • Version: 1.55.2 (user setup)
  • Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
  • Date: 2021-04-13T09:35:57.887Z
  • Electron: 11.3.0
  • Chrome: 87.0.4280.141
  • Node.js: 12.18.3
  • V8: 8.7.220.31-electron.0
  • OS: Windows_NT x64 10.0.18363
  • Extension version: v0.0.22

Steps to Reproduce:

  1. Install VS Code (in the user directory if that matters - no admin)
  2. Install this extension
  3. Restart VS Code
  4. Open the extension tab - get the message "You have not yet signed in with Azure Devops"
  5. Click the Sign In button - nothing happens

I've verified I don't have the github version of the extension installed so there should be no interference there. My git is authenticated with Azure Devops, I believe through credential manager? Glad to provide any more information that might help.

djbelknapdbs avatar May 05 '21 16:05 djbelknapdbs

My bad - I didn't get the right values in the org URL and project settings. Once I got that corrected, I got authenticated.

Might be good to have an example of what the Org URL and project name are in the setup. If you're working from a repo url like: https://dev.azure.com/ABC_Corp/MyProjectName/_git/my-repo

org URL is: https://dev.azure.com/ABC_Corp/

Project name is: MyProjectName

djbelknapdbs avatar May 05 '21 17:05 djbelknapdbs

This did not work for me but thanks for posting

emb03 avatar Sep 30 '21 17:09 emb03

same here .. i click on the button and nothing happens? How to login .. i am not asked to configure anything

cforce avatar Mar 24 '22 22:03 cforce

If I may add to that, modifying settings.json as shown below would make the button work for me. Hope this helps.

{
	"azdoPullRequests.orgUrl": "https://<org_name>.visualstudio.com",
	"azdoPullRequests.projectName": "<project_name>"
}

Crux-One avatar May 16 '22 09:05 Crux-One

My bad - I didn't get the right values in the org URL and project settings. Once I got that corrected, I got authenticated.

Might be good to have an example of what the Org URL and project name are in the setup. If you're working from a repo url like: https://dev.azure.com/ABC_Corp/MyProjectName/_git/my-repo

org URL is: https://dev.azure.com/ABC_Corp/

Project name is: MyProjectName

This worked for me. Had to restart VS Code to make it work, however.

MattFowler79 avatar Jul 17 '24 21:07 MattFowler79