My company have for many years used Visual Studio for debugging .NET code and are using DefaultAzureCredential to connect to our Azure KeyVault and SQL database. In VS I have added my account in Azure Service Authentication, which has previously been used by DefaultAzureCredential.
This has suddenly changed, so the Azure Service account is no longer used. Instead DefaultAzureCredential moves forward and uses the machines TenantId (I’m working on an Azure Virtual desktop).
What can have changed? and can I somehow turn on some logging to see why this is happening.
My user can still log in to our Azure resources, so it is not a matter of not having the correct credentials for my user.
I haven’t made any changes to Visual Studio.
Mda is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Try to update your VS to latest version and then re-enter your credential. It will work.
Karthick Sekar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.