Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a PowerBI report, and I want to update Accountname and accountkey using Rest API. I found a way to use parameter as an account name, but didn't find anything on AccountKey.
Any help regarding this? Is it possible to update it using this-
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasources
OR-
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updateparameters
In Any way?
Hi,
I hope you can help me!
How can i update my azure blob credentials in powerbi with SA access api (rest api)
I keep getting a bad request.
Hi @sipati ,
Currently you couldn't able to use either parameters/ update datasource api to dynamically change the account key from the azure blob.
The only workaround for this, you have to use a gateway.
Hello @Jayendran ,
Any reason why it is not possible to update the Credentials for the Blob storage?
Becaue based on the MSFT documentation link :
we can patch the Cred with Key type :
So cant we use this powershell to update the cred:
Invoke-PowerBIRestMethod -Url "gateways/$($BounGateway.value.gatewayId)/datasources/$($BounGateway.value.id)" -Method PATCH -Body $Body | ConvertFrom-Json
where the body is the above JSON format .
Thanks
Good Morning... I can update the credential, but the records are not updating Did you succeed with this feature?
Hi @NandanHegde ,
Thanks for correcting me . I can confirm using update datasource you can update the keys.
Good catch ! Sorry for the wrong information
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |