Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
brendacusabel
Regular Visitor

How do I update credentials for an Azure table using API

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.

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

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.

 

r2.PNG

 

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. Smiley Happy

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

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.

 

r2.PNG

 

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. Smiley Happy

 

Regards

brendacusabel
Regular Visitor

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"
}
]
}
}

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.