My original question was raised in Desktop forum: https://community.fabric.microsoft.com/t5/Desktop/BadGateway-error-with-SQL-connector-in-Power-Apps/m-p/4248484. I would like to connect to SQL DB in Power Apps, but I am not allowed to install SQL Gateway on my laptop. There is a setup of SQL gateway for JWPKSQLEP02.corp.checkfree.com in my Power BI web service as shown below. How to connect to SQL in Power Apps with the SQL gateway in my Power BI web service?