Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot sign in to Azure #70

Open
steamprodz opened this issue Jun 1, 2022 · 12 comments
Open

Cannot sign in to Azure #70

steamprodz opened this issue Jun 1, 2022 · 12 comments

Comments

@steamprodz
Copy link

  • 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
@roviralinxea
Copy link

Same Problem here 👋

@brumhard
Copy link

brumhard commented Jun 9, 2022

@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
Copy link

You are correct! Thank you buddy!

@patras1
Copy link

patras1 commented Aug 22, 2022

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
Copy link

patelriki13 commented Sep 27, 2022

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

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

@patras1
Copy link

patras1 commented Oct 19, 2022

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
Copy link

patras1 commented Oct 19, 2022

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
Copy link

zcoop98 commented May 18, 2023

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
Copy link

nonprenom commented Aug 7, 2023

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
Copy link

NechiK commented Jun 4, 2024

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?

@phuongvo9
Copy link

I have the same issue

@jsuddsjr
Copy link

jsuddsjr commented Dec 4, 2024

So, looks like I need to PAT after all. Any idea what permissions I should grant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests