Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi!
I've been trying to use an API method from a Powershell script for a while now, the methos is Datasource/Update datasets/{datasetId}/Default.UpdateDatasources.
Usually it doesn't work, but sometimes it does.
I basically want to change the Datasource credentials: Server, DB, user & password. The authentication type is "Basic", this doesn't change although I tried to send it in the request as well.
The problem is that the answer from the API is always 200 (as if it had gone ok) but most of the times (not all, sometimes it works fine) in the Powerbi portal I see that the Server and DB data have been changed but not the user & password and also the type of authentication seems to be in "Windows".
The connection is both in Azure SQL.
Has it happened to anyone? It's quite strange...
Thank you.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |