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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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