Develop with SQL Server Management Studio
To use SQL Server Management Studio (SSMS) with Azure Government, specify Azure Government as the environment to connect to, rather than global Azure. To connect to computers that are running SQL Server in your Azure Government subscription, you must configure SSMS to connect to the Azure Government cloud.
For general information about SSMS, see the SSMS documentation.
If you don't have an Azure Government subscription, create a free account before you begin.
- Review Guidance for developers. This article discusses Azure Government's unique URLs and endpoints for managing your environment. You must know about these endpoints in order to connect to Azure Government.
- Review Compare Azure Government and global Azure and click on a service of interest to see variations between Azure Government and global Azure.
Set up an Azure SQL Server firewall rule
Before you connect to Azure Government from SSMS, you must set up an Azure SQL Server firewall rule to allow your local IP address to access your computer that's running SQL Server.
Follow these steps to Manage firewall rules by using the Azure portal.
Specify Azure Government as the environment to connect
Open SSMS. Browse to Tools > Options > Azure Services.
In the Select an Azure Cloud drop-down, select AzureUSGovernment.
Browse to File > Connect Object Explorer. Enter the name of your computer that's running SQL Server. Enter your authentication information.
The name of the computer that's running SQL Server ends with .usgovcloudapi.net.
SSMS is now connected to your Azure Government subscription.