Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |