Visual Studio picks the wrong tenant id in an attempt to login Azure in the integrated Microsoft Identity platform tool, I do not have such a GUID that it shows me, my tenant id Guid is different for the user, and user name is shown right in the error message. I tried to search the GUID that it shows me (starting at f8cd..) in Azure portal, but was not able to find anything, no idea where VS takes it from, could be some old one that I used long in the past.
I restarted studio, rebooted Windows, signed out, signed in, nothing helps. I clean up \AppData\Local\.IdentityService\AzureServiceAuth
, it did not help either.
When I type az account show
in the cmd, it displays right user and right tenant id with home tenant id
Checking/unchecking the box in VS settings does not help either