An error occurred while seeding the database.

Subhra Roy 0 Reputation points
2025-02-28T00:25:52.9666667+00:00

I am getting the following error while connecting from Visual studio to Azure.

*** ERROR *** An error occurred while seeding the database. *** ERROR ***

  Microsoft.Data.SqlClient.SqlException (0x80131904): DefaultAzureCredential failed to retrieve a token from the included credentials. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/defaultazurecredential/troubleshoot
Azure Database for MySQL
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.