ankitbko / vscode-pull-request-azdo

Azure Devops Pull Requests for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ankitbko.vscode-pull-request-azdo
MIT License
64 stars 20 forks source link

Cannot sign in to Azure #70

Open steamprodz opened 2 years ago

steamprodz commented 2 years ago

Steps to Reproduce:

  1. Open 'Azure Devops' extension sidebar
  2. Click 'Sign In'
  3. Nothing happens
roviralinxea commented 2 years ago

Same Problem here 👋

brumhard commented 2 years ago

@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

salvadornava01 commented 2 years ago

You are correct! Thank you buddy!

patras1 commented 1 year ago

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?

patelriki13 commented 1 year ago

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

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

patras1 commented 1 year ago

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 commented 1 year ago

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...

zcoop98 commented 1 year ago

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.

nonprenom commented 11 months ago

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"

NechiK commented 1 month ago

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?