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.
Prerequisites
- 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.
Note
The name of the computer that's running SQL Server ends with .usgovcloudapi.net.
SSMS is now connected to your Azure Government subscription.
Next steps
- Read more about Azure Storage.
- Subscribe to the Azure Government blog.
- Get help on Stack Overflow by using the
azure-gov
tag.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för