I am trying to connect to Azure SQL database from my Power BI desktop, but I am not able to connect to the dabase. I have already checked into the below points.
- SSMS is installed on the same machine that has Power BI Desktop installed.
- a firewall rule has already been to allow Power BI Desktop to make a connection to Azure SQL.
- correct server name
Below error is reported:
Unable to connect
We encountered an error while trying to connect
Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.)"