Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Everyday, I'm asked for Azure Devops credentials and it creates a new PAT for me.

Jacob_Beu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2024

I use Azure Devops to host Git, and every day, when I do my first pull/fetch/push of the day, the Git Credentials manager pops up and asks me to Authenticate.  After agreeing, it generates a new PAT on my account and uses that connection all day.  The next morning it will ask for authentication again and it will generate a new PAT, even though the prior one isn't set to expire until 2025.

I have hundreds of PATs called "Git: https://<companyAddress> on <computerName>" with permissions on Code (Read & Write); Packaging (Read).

I've created my own PAT and went to the Tools > Options > Authentication and delete all references to DevOps and re-set it up with the PAT.  I get the Authentication OK green checkmark.  As soon as I go and do a fetch, I get the credential manager again asking for my windows auth.  If I click cancel, it fails and tries again, showing the auth screen again.  If I accept it generates a new PAT and works for the rest of the day.  I fully expect tomorrow it will ask again to authenticate myself and make a new PAT for me.

I've tried uninstalling and deleting SourceTree and Altassian folders from AppData/Local and AppData/Roaming, and that didn't help either.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events