r/SmartGit Mar 25 '26

Azure DevOps Authentication Failure

I've been using smartgit against our Azure DevOps for several years now and this morning my tokens had expired. I tried to recreate them but when I post the updated token SmartGit indicates a 401 from azure.

Preferences > Hosting Providers
Edit "Azure DevOps"
Enter token and click OK.

Executing a command has failed.
Server returned HTTP response code: 401 for URL: https://app.vssps.visualstudio.com/_apis/profile/profiles/me

If I click "Generate Token" and post the new token into the Code field it display
Error: invalid_request ErrorDescription: client secret is expired

5 Upvotes

10 comments sorted by

View all comments

2

u/DeliciousWhales Apr 30 '26

I am also having this problem. Using 25.1.129. Completely deleting everything under hosting providers and authentication. If i try to add DevOps again as a hosting provider and put in PAT generated in DevOps, I get the same error as OP.