Hi Aayush Suresh Jain •,
Welcome to Microsoft Q&A forum and thanks for using Azure Services.
As I understand, you are unable to connect to Azure SQL Managed Instance from Power BI.
Could you please let us know if this is first time you are trying to connect, or this connection was earlier working and now stopped working?
Please refer to below points meet for your Azure SQL MI:
- Private endpoints to SQL Managed Instance can only be used to connect to port 1433, the standard TDS port for SQL traffic. More complex connectivity scenarios requiring communication on other ports must be established via the instance's VNet-local endpoint.
- Private endpoints to Azure SQL Managed Instance require a special setup to configure the required DNS resolution, as described in Set up domain name resolution for private endpoint.
- Private endpoints always operate with the proxy connection type.
Note:
Azure SQL Managed Instance requires the connection string from the SQL client to bear the name of the instance as the domain name's first segment (for example: <instance-name>.<dns-zone>.database.windows.net
). PaaS and SaaS services that attempt to connect to Azure SQL Managed Instance's private endpoint via its IP address will not be able to connect.
Reference documents: https://techcommunity.microsoft.com/t5/azure-sql-blog/integrate-microsoft-cloud-services-with-your-azure-sql-database/ba-p/1083543
https://www.mssqltips.com/sqlservertip/5953/create-power-bi-connection-to-azure-sql-database/
Thanks