unable to generate git credential for Azure Repos git using Azure DevOps

While clicking the button to generate git credentials under Azure DevOps, the option is loading with an anonymous exception, and the git credentials are not getting generated for a particular AD User.

How can I get past this error?


This is an known issue reported in this Azure DevOps event: https://status.dev.azure.com/_event/282616310

Our engineers are still working on this event, and they have taken some measures to improve things. You can follow this event to get the latest update for it.

When you click the "Generate Git Credentials" button, it essentially generates a PAT (Personal Access Token) with the scope "Code (Read & write)" for your account.

So, if the issue still exists on your side, as a workaround, you can try to manually create a PAT with the scope "Code (Read & write)" for your account.