Enable Azure access on server

Carolyn Schroeder 191 Reputation points
2022-08-01T14:57:16.45+00:00

I have am trying to export a database to a backpak and am getting the message "Enable Azure access on server glqr7ajlfz."

I have tried to do this with the CLI command
az sql server firewall-rule create -g Default-SQL-CentralUS -s glqr7ajlfz -n azure --start-ip-address 0.0.0.0 --end-ip-address 0.0.0.0

and am still unsuccessful.

Please help!

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2022-08-01T15:25:51.233+00:00

    Please try the following:

    New-AzureSqlDatabaseServerFirewallRule -ServerName "SERVER NAME" -AllowAllAzureServices  
    

    You can also go to the Portal, select Export, then click on the link below.

    226906-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.