An Azure relational database service.
@Dilip-3803
Since the issue started right after the Visual Studio update, it is most likely related to how Visual Studio provides credentials to your application, rather than a problem with the Azure SQL Database itself. To identify the exact cause, please share the full error message and the authentication method used in your connection string, for example SQL authentication or Authentication=Active Directory Default.
If you are using Microsoft Entra authentication, such as Active Directory Default or Active Directory Interactive, the application uses the account signed in to Visual Studio when running locally. A Visual Studio update can sometimes expire or reset this sign-in. Please go to Tools > Options > Azure Service Authentication, confirm the correct account is selected, and sign in again if needed.
Please also check the version of Microsoft.Data.SqlClient in your project. Starting with Microsoft.Data.SqlClient 7.0, the Microsoft Entra authentication support was moved out of the core package. If your project was upgraded to 7.0 or later and uses any Entra authentication mode, you need to add the Microsoft.Data.SqlClient.Extensions.Azure NuGet package.
If you are using SQL authentication, please verify that your client IP address is still allowed in the server firewall rules, and that the login credentials are still valid.
For additional information, please refer to the following Microsoft documentation:
Connect to Azure SQL with Microsoft Entra authentication and SqlClient | Microsoft Learn
Troubleshoot connectivity issues and other errors with Azure SQL Database | Microsoft Learn
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "up-vote" wherever the information provided helps you, this can be beneficial to other community members.