I am trying to provide the credentials for an Azure Table Storage datasource via the Power BI API (specifically the Nuget package). I have successfully done this for Azure SQL, but I'm not sure what the serialized credentials provided to the CredentialDetails.Credentials property should be...
{"credentialData": [ {"name":"accountkey", "value":"my account key here - support for SAS signatures would be great!"}]}
I have tried every combination of accountkey, Account Key, account-key, etc under the sun - although I have tried them all in one request - hoping that the backend would ignore the redundant data. But I keep getting a BadRequest error from the backend. I have also set the value of the CredentialDetails.Key property to "Key". I'm making these assumptions off the basis of what the 'Data source credentials' property pages look like on the Power BI service itself.
Are these datasource-specific credential schemas documented anywhere?
It would also be great if the DatasourceType property on the GatewayDatasource object was something other than 'Unknown'... like 'AzureTable' maybe???
FYI, the error content I get back from the Power BI service is:
{"error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","parameters":{},"details":[]}}}