Reputation: 5095
I was following this article and had referred to this tutorial and tutorial about firewall on connecting Azure SQL Database with Visual Studio Code but I just couldn't find the relevant options in some steps.
Both this article and this tutorial mentioned "Set server firewall" as shown below: But I couldn't find "Set server firewall" in my Azure portal. Here is what I see:
and this is what I see in Firewall:
And I got stuck while trying to add connection on SQL Tools in Visual Studio Code: , which is Step 5 in this tutorial. Has the Azure portal changed or is it that I missed out any steps?
Edit:
I got stuck at Step 6 in this tutorial. Is there an alternative solution?
Upvotes: 0
Views: 2226
Reputation: 9511
Thanks to @Preben Huybrechts for the comment.
Yes, as @Preben Huybrechts said, you must first navigate to the SQL Server resource, then select the server, and then you can manage the server firewall in it. Before that, you must first create a SQL Server resource and SQL database.
For how to set up the firewall, you can check this link.
Update 1:
You need to install "SQL Tools
" according to step 4 of the document.
Upvotes: 1