To get the connection to an Azure SQL Database using Visual Studio, do the following.
Log into Visual Studio and select Server Explorer:

Choose SQL Server and click Continue:

Enter your connection information and click OK:

The database will appear under Data Connections. Click Properties:

Then, under Properties, you will see the Connection String:


Keep learning. Keep building.
Explore AI, agents & Microsoft technology.
I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.
Subscribe on YouTube →Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert