What permissions does a user need to be able to connect to Azure SQL with SSMS and add their IP address to the firewall?

Joe DeNicola 1 Reputation point
2021-04-01T14:33:57.32+00:00

What permissions are needed for a user to be able to connect to Azure SQL via SSMS and add their IP address (which changes) to the Azure SQL Firewall rules?

I can connect via SSMS without a problem.

When one of my people connects, it prompts them for New Firewall Rule. They using the Sign In button to sign into Azure. But they always get the message:

"The server you specified (xxxxx.database.windows.net) does not exist in any subscription in user@azureaccount.onmicrosoft.com. Either you have signed in with an incorrect account or your server was removed form all subscriptions in this account. Please check your account and try again."

I've gone so far as to give this user:

  • SQL Security Manager role on the resource group
  • SQL Server Contributor role on the resource group
  • Contributor role on the subscription (there is only one subscription)
  • Owner role on the subscription
  • Owner role on the Azure SQL database
  • Network administrator role in Azure
  • Cloud device administrator role in Azure
  • Cloud application administrator role in Azure

What more can be required??

Since they do not have a fixed IP address, I cannot add their IP address manually.

I cannot find anything in the docs that says what permissions they need to add their address to the firewall, and the error message really doesn't even indicate that this is the issue, though it seems to be.

Azure SQL Database
{count} votes