Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
We have the following scenario we’re trying to support:
Problem:
We want the user not to have to deal with excessive authentication (like inputting a user/pass other than their own). We’re able to get SSMS to connect with active directory integration, but not via Power BI.
Questions:
What type of authentication can we get working inside an intranet (corpnet) with Power BI desktop and our Azure SQL DB?
Are we doing the right thing? Is there a better way to achieve what we’re trying to do programmatically (change report data sets programmatically)?
Thanks!
In Power BI desktop, you can access the all database and save the credential in cache at the first time to connect. When connecting next time, you don't have to input credential again.
Why that much interaction with Power BI desktop? There's no any programming API for Power BI desktop.
Based on my understanding on your requirement, Power BI Embedded seems promising. You can set SetAllConnections to decide which DB is connected according to the connecting user.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 8 | |
| 4 | |
| 3 | |
| 3 |