Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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