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
Lay
Frequent Visitor

Scaling Multi-tenant Solutions using Service Principal Profiles / Datasource POSTGRESQL

Salut,
Je travaille sur un projet d'intégration de rapport POWER BI pour une application web. L'architecture est multi-tenant avec des bases de données postgreSQL.
J'ai du mal à savoir s'il est possible de mettre à jour les sources postgreSQL de l'ensemble de données. 
L'objectif est d'avoir un seul pbix, puis de mettre à jour l'ensemble de données pour chaque locataire.
 
Merci pour votre aide concernant ce sujet. 
2 REPLIES 2
Lay
Frequent Visitor

Hi v-jianboli-msft

 

Thank you for all this documentation and sorry for my unclear question. 

 

The problem is : I can't pass the schema parameter like this : 

pbiClient.Datasets.UpdateParametersInGroup(workspace.Id, datasetId, updateRequest) 

 

Its because the shema parameter doesn't exist in the parameters of the datasource. 

The only parameters that I can change are :

- DataseName

- DabaseServer.

 

But in the BDD one tenant = one schema. 

 

Do you know how I can update schema parameters with PowerBI API ? 

 

 

 

 

 

v-jianboli-msft
Community Support
Community Support

Hi @Lay ,

 

This article explains how an ISV or any other Power BI Embedded app owner with many customers can use service principal profiles to map and manage each customer's data as part of their Power BI embed for your customers solution. Service principal profiles allow the ISV to build scalable applications that enable better customer data isolation and establish tighter security boundaries between customers. 

And you can use Power BI REST API to refresh your dataset.

 

For more details, please refer to:

Use service principal profiles to manage customer data in multitenant apps - Power BI | Microsoft Le... 

Datasets - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Best Regards,

Jianbo Li

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.