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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors