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
SM2022
New Member

How can we update cloud data source credentials using Power BI REST API?

We are working on a tenanted Power BI solution based on https://github.com/PowerBiDevCamp/App-Owns-Data-Starter-Kit 

In our Power BI dashboard, we only use web data source type connections.

SM2022_0-1642975050326.png

The dashboards are published to the new tentant workspace successfully but we are unable to configure credential method and privacy level setting for the data sources using the REST API.

 

We read the following documentation which suggest to use the Update Parameters In Group API call for web sources but there are no documentation or resources on how to pass the datasource privacy level as a parameter.

Datasets - Update Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Could you please help?

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi  @SM2022 ,

 

Currently, Power BI doesn't support us to change credential by Power BI Rest API.

Here is a post with similar problem like yours, I hope it could help you solve your problem.

For reference:

Power BI REST API Update datasource credentials

You also could submit an idea like lbendlin mentioned.

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,
Rico Zhou

 

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

lbendlin
Super User
Super User

The purpose of this API is to change the connection address details, not the privacy level or the credentials.

 

Microsoft Idea (powerbi.com)

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.