Unable to connect azure sql server with any of setted Admin

Lupin Sharma 21 Reputation points
2020-09-14T09:37:28.277+00:00

Unable to connect azure sql server with any of setted Admin

Azure SQL Database
{count} votes

Accepted answer
  1. Jaguaraci Silva 81 Reputation points
    2020-09-25T16:24:58.963+00:00

    HI,

    1) you should verify on Azure portal if the services and resources are allowed to access the Azure SQL Server instance [yes option].

    2) use sqlcmd on Azure cloud shell and connect to database server.

    3) set the firewalls rules with client IP address range that you is using with the sp below on sqlcmd prompt:

    EXECUTE sp_set_database_firewall_rule N'Allow appServer database level rule', '[From IP Address]', '[To IP Address]';
    GO

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.