This post falls into the set of posts to remind myself how I fixed an issue that probably no-one else will encounter.
When performing operations with git at the command line or through JetBrains Rider (but not through Visual Studio) that involved remote operations to Azure DevOps, I was receiving the following error after entering my username in a pop up window:

The error AADSTS90036 has very little useful information for it on the web.
I don’t exactly know my client’s AAD/Microsoft Entra Id setup, but for what it’s worth pretty much all network communication from my development machine needs to go through a proxy with a self signed certificate. It’s also protected with Microsoft Authenticator. To what degree any of this is relevant I’m not sure.
The resolution for me was to reinstall the latest version of Git for Windows, 2.44.0 at the time of writing. When installing 2.44.0, it said it was uninstalling 2.17.0. Looking at the release notes and following the links through to the embedded Git Credentials Manager releases, I can see fixes subsequent to 2.17.0 that are specific to DevOps.
For example, Git Credentials Manager 1.18.4, bundled with Git for Windows 2.20.1, includes “DevOps: Support AAD in MSA”. Given that my account has MSA as an authentication factor, this could have been the fix.
Entertainingly, it was the second time in 24 hours I’d installed 2.44.0. My client uses Microsoft Software Center to push software updates out. Looking at the Updates page I see that Atlassian SourceTree 3.0.8 was installed. This was released in 2018, similar to Git for Windows 2.17.0, so my guess is that this is either reverting Git or else changing path variables to point to its embedded version of Git.
I don’t rate my chances of getting my client to upgrade the software versions it distributes, but I’ll give it a go!