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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello all, I'm relatively new to Power BI and the M language, and I'm trying to build a custom data connector for a SaaS application. Using some relevant examples online, I've made some good progress: OAuth2 authentication flow is working, and I'm able to present the user with data source options via a navigation table and successfully ingest the data.
Here's the problem: Our application is a multi-tenant, multi-environment SaaS solution. In order to authenticate, the user needs to specify parameters for both their environment (commercial, gov, private instance, etc.) and their tenant within that environment. Right now, I have the connector hard-coded to a dev environment and a specific dev tenant, but I really need to parameterize these values so that I don't have to build env/tenant specific versions of the connector for each of our customers. The values would ideally be captured once, i.e. the first time the user uses the connector, and then defaulted from that point forward. The key is that they have to be captured prior to authentication.
Any help would be appreciated.
Hi @ddeligeo
How about this video?
Developing multi-tenant SaaS application with Power BI Embedded Analytics: Best - BRK4014
Best Regards
Maggie
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.