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

Cannot sign in to Azure

Open steamprodz opened this issue 3 years ago • 12 comments

  • Extension version: 0.0.25
  • VSCode Version: 1.67.2
  • OS: Windows 10

Steps to Reproduce:

  1. Open 'Azure Devops' extension sidebar
  2. Click 'Sign In'
  3. Nothing happens

steamprodz avatar Jun 01 '22 12:06 steamprodz

Same Problem here 👋

roviralinxea avatar Jun 08 '22 10:06 roviralinxea

@steamprodz @roviralinxea I think you need to set Org Url and Project Name in the settings (@ext:ankitbko.vscode-pull-request-azdo). If you click sign in after that you get the dialog to put in your PAT. That's also described here: https://github.com/ankitbko/vscode-pull-request-azdo#getting-started

brumhard avatar Jun 09 '22 08:06 brumhard

You are correct! Thank you buddy!

salvadornava01 avatar Jun 16 '22 21:06 salvadornava01

After the Sign-In I have inserted the PAT but I get the following message: "Unable to authenticate. Signout and try again." with no other indication for the problem. I have filled the 'Org Url' and the 'Project Name' correctly and the PAT was generated from azure correctly. Any advice?

patras1 avatar Aug 22 '22 08:08 patras1

new baby for VS Code: For sing-in (ACtivity Bar) image

@ankitbko Try to add some screenshot in wiki if possible.

patelriki13 avatar Sep 27 '22 13:09 patelriki13

Still having the some problem...

After the Sign-In I have inserted the PAT but I get the following message: "Unable to authenticate. Signout and try again." with no other indication for the problem. I have filled the 'Org Url' and the 'Project Name' correctly and the PAT was generated from azure correctly. Any advice?

patras1 avatar Oct 19 '22 11:10 patras1

new baby for VS Code: For sing-in (ACtivity Bar) image

@ankitbko Try to add some screenshot in wiki if possible.

Still it didn't resolve my problem...

patras1 avatar Oct 19 '22 11:10 patras1

Does your Azure logic have multiple tenants by chance? I've had many issue with various Azure extensions stemming from not having the right Azure tenant set to be my default.

zcoop98 avatar May 18 '23 19:05 zcoop98

Hi, I have the same issue and I found a beginning of solution...

my repository is at this url : https://dev.azure.com/<org name>/<client name>/_git/<project>/

At the beginning, I put : Org Url = https://dev.azure.com/<org name>/<client name>/_git/ Project Name = <project>

I was getting the error "Unable to authenticate. Signout and try again."

The doc says Org Url should be https://dev.azure.com/<org_name> So I put :

Org Url = https://dev.azure.com/<org name>/ Project Name = <client name>/_git/<project>

So, now I can login, I can see my git repo with its sub modules but I still can't see the PR. (0 pull requests in this category)

The extension errors is now :

"Fetching pull requests failed: A project name is required in order to reference a Git repository by name"

nonprenom avatar Aug 07 '23 07:08 nonprenom

Hi, I have the same issue and I found a beginning of solution...

my repository is at this url : https://dev.azure.com/<org name>/<client name>/_git/<project>/

At the beginning, I put : Org Url = https://dev.azure.com/<org name>/<client name>/_git/ Project Name = <project>

I was getting the error "Unable to authenticate. Signout and try again."

The doc says Org Url should be https://dev.azure.com/<org_name> So I put :

Org Url = https://dev.azure.com/<org name>/ Project Name = <client name>/_git/<project>

So, now I can login, I can see my git repo with its sub modules but I still can't see the PR. (0 pull requests in this category)

The extension errors is now :

"Fetching pull requests failed: A project name is required in order to reference a Git repository by name"

Yeah, I have the same error. I've tried to enter a project name and a Git repo name. Nothing works.

I've one more question. If I have space in the project name, should I enter it exactly as it's in the URL? Like Project%20Name?

NechiK avatar Jun 04 '24 18:06 NechiK

I have the same issue

phuongvo9 avatar Oct 15 '24 08:10 phuongvo9