Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jslade
Frequent Visitor

Using Update Parameter API to Manage Customer Access

Dear Community,

I write Power BI reports for our clients, which are mostly ski resorts and hotels.  Each of our clients has their own on prem database that my reports are accessing through the Gateway.  Currently, I have a workspace for each client and then deploy the report to each workspace with a different connection string in the dataset and using their datasource in the gateway.  Our clients access their reports through our web application and I'm making an API call to render the Power BI report within our web application.  This is becoming harder to manage as we now have over 100 clients and when I write or change a report I have to deploy the report to 100 workspaces and then change the connection string for each dataset.  I am thinking of changing this to only have one workspace with one report that uses the Server and Database parameter within the report and then having the web application call the Update Parameter API to change the connection string and then call the Refresh Dataset to refresh the report with the new connection string data, when the user clicks on the report in our web application. I have some concerns with doing this, because I have to make sure Client A cannot see Client B's data and I'm worried about what happens if they both call the same report at the same time.  Is there a better way to do this? Any other risks or things I should consider?

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @jslade ,

Base on my research, it might be impossible. Please review the following documentations, check whether there is any other insights can help you.

Multiple datasources and connections on API

Rest API With User Selected Parameters As Data Source

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @jslade ,

Base on my research, it might be impossible. Please review the following documentations, check whether there is any other insights can help you.

Multiple datasources and connections on API

Rest API With User Selected Parameters As Data Source

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.