You will publish a report that uses DirectQuery to a SQL Server 2019 database in your on-premises data center. The database is reachable only from inside the corporate network. After you publish the semantic model to the Power BI service, you must schedule refresh so users always query live data. What must you do to let the service connect to the database?
Embed a personal gateway in the Power BI Desktop file before publishing.
Enable service principal authentication for the workspace to bypass the firewall.
No additional configuration is required because DirectQuery eliminates the need for a gateway.
Install and configure an on-premises data gateway, then add the SQL Server instance as a data source.
Because the SQL Server database is located on-premises and is not exposed to the public Internet, the Power BI service cannot reach it directly. You must install and configure an on-premises data gateway inside the corporate network, then register the SQL Server instance as a data source in that gateway. Personal gateways are intended for individual use and do not support central administration, while service principal authentication does not solve the network connectivity requirement. DirectQuery still needs a network path; it does not eliminate the need for a gateway when the data source is on-premises.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an on-premises data gateway?
Open an interactive chat with Bash
Why is DirectQuery not sufficient for accessing on-premises databases?
Open an interactive chat with Bash
How is a personal gateway different from an on-premises data gateway?
Open an interactive chat with Bash
Microsoft Power BI Data Analyst
Manage and secure Power BI
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .