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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
Anonymous
Not applicable

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.