Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |