Microsoft has introduced the option to invite AAD users into MSA backed Azure DevOps accounts. This is great for companies that are transitioning accounts over from "unmanaged" to "managed", starting with transferring account ownership to an AAD user and then fixing the user and licensing mess in a slower approach.
However, when I try to clone a repository using Visual Studio 2017 or 2019, I'm greeted with an error message:
Git failed with a fatal error. Authentication failed for: {remote-url}.
or, depending on which version of the Git credential manager you have:
error: cannot spawn askpass: No such file or directory
fatal: could not read Username for '{remote-url}': terminal prompts disabled`
When cloning from the command line, there are no issues and afterward, Visual Studio can also use the resulting git repository.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…