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.
Hello,
I am new to PowerBI.
My pbix data source is an Azure table, and I can switch to a different table storage account after I have published
my pbix to PowerBI service via Set Parameter API.
Is there a way through PowerBI API to update the credentials (account key) when ever I switch to a different Azure table
storage account.
Thank you.
Solved! Go to Solution.
Hi @brendacusabel,
Based on my test, it seems to be that updating the credentials (account key) for Azure Table Storage isn't supported current.
I used this call: GetBoundGatewayDatasources (https://msdn.microsoft.com/en-us/library/mt732874.aspx). However, there is no account key listed in the connectionDetails.
So I would suggest you add it as an idea on Power BI Ideas forum to improve Power BI on this feature. Here is a similar idea for your reference.
Regards
Hi @brendacusabel,
Based on my test, it seems to be that updating the credentials (account key) for Azure Table Storage isn't supported current.
I used this call: GetBoundGatewayDatasources (https://msdn.microsoft.com/en-us/library/mt732874.aspx). However, there is no account key listed in the connectionDetails.
So I would suggest you add it as an idea on Power BI Ideas forum to improve Power BI on this feature. Here is a similar idea for your reference.
Regards
Hello.
I am trying to update an Azure Table Storage Key and used the message body below for a Patch data source API request.
{
"credentialType": "Key",
"credentials":
{ "credentialData": [
{"name": "key",
"value": "<Azure table storage key>"
}]
},
"encryptedConnection": "NotEncrypted",
"privacyLevel": "Private",
"encryptionAlgorithm":"None"
}
And I get a bad request response:
{
"error": {
"code": "BadRequest",
"message": "Bad Request",
"details": [
{
"message": "The property 'credentials' does not exist on type 'Microsoft.PowerBI.ServiceContracts.Api.GatewayDatasource'. Make sure to only use property names that are defined by the type.",
"target": "datasourceDelta"
}
]
}
}
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 |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
2 | |
2 | |
2 | |
2 |