Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All
I noticed that if I update Power BI Dataset parameter via API, it loses data source credentials, so I have to go to Power BI service and manualy update those credentials
Any idea how to sort it?
Thanks
You can even use REST API to update the credentails :
https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/update-datasource
Thats for Gateways, which we dont use
Hi @kroman ,
I think you may try to update datasource for datasets.
For reference:
Datasets - Update Datasources - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Datasets - Update Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
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.
Tryed it - doing the same thing, removing datasource credentials 😞
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
5 | |
5 | |
4 | |
4 | |
3 |