<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/354103#M10530</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works - thanks for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few questions/observations/suggestions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Is this documented anywhere? e.g. what should the format for 'credentials' be for other types of datasources? I feel that we shouldn't have to come to this forum for this sort of information.&lt;/P&gt;&lt;P&gt;* Rather than crafting a JSON string, it would be good if the PowerBI Client SDK supported a strongly-typed class for each datasource type.&lt;/P&gt;&lt;P&gt;* EncryptedConnection/PrivacyLevel/EncryptedAlgorithm: is there any documentation around these at all? When should they be used? What types of datasource do they apply to?&lt;/P&gt;&lt;P&gt;* Datasource Name: The&amp;nbsp;datasource object that is returned by various APIs has a 'DatasourceName' property - this is invariably blank. It would be handy to have this populated in the event that a report had multiple datasources of the same type - it is possible to distinguish between them via the ConnectionDetails property, however that is a bit tricky. I'm assuming that this relies on Power BI Desktop supporting datasource names that it currently doesn't.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 00:33:05 GMT</pubDate>
    <dc:creator>jimmcslim</dc:creator>
    <dc:date>2018-02-08T00:33:05Z</dc:date>
    <item>
      <title>How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352120#M10474</link>
      <description>&lt;P&gt;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...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"credentialData": [ {"name":"accountkey", "value":"my account key here - support for SAS signatures would be great!"}]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are these datasource-specific credential schemas documented anywhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would also be great if the DatasourceType property on the GatewayDatasource object was something other than 'Unknown'... like 'AzureTable' maybe???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, the error content I get back from the Power BI service is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","parameters":{},"details":[]}}}&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 04:15:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352120#M10474</guid>
      <dc:creator>jimmcslim</dc:creator>
      <dc:date>2018-02-06T04:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352523#M10500</link>
      <description>&lt;P&gt;No love for Table Storage?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352523#M10500</guid>
      <dc:creator>jimmcslim</dc:creator>
      <dc:date>2018-02-06T12:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352940#M10510</link>
      <description>&lt;P&gt;I'm going to assume that it is not possible to set Azure Table Storage access credentials via the Power BI API then?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 23:39:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/352940#M10510</guid>
      <dc:creator>jimmcslim</dc:creator>
      <dc:date>2018-02-06T23:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/353691#M10522</link>
      <description>&lt;P&gt;you should use the following format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "credentials":"{\"credentialData\":[{\"name\":\"key\",\"value\":\"hi...rg==\"}]}",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "credentialType": "Key",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "encryptedConnection": "&lt;STRONG&gt;Encrypted | NotEncrypted&lt;/STRONG&gt;", // chose one&lt;/P&gt;&lt;P&gt;&amp;nbsp; "privacyLevel": "&lt;STRONG&gt;None |&amp;nbsp;Private&amp;nbsp;|&amp;nbsp;Organizational&amp;nbsp;|&amp;nbsp;Public&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/STRONG&gt;// chose one&lt;/P&gt;&lt;P&gt;&amp;nbsp; "encryptionAlgorithm":"None"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for pointing the datasource type issue, will fix it.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/353691#M10522</guid>
      <dc:creator>madia</dc:creator>
      <dc:date>2018-02-07T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set credentials for Azure Table Storage via Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/354103#M10530</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works - thanks for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few questions/observations/suggestions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Is this documented anywhere? e.g. what should the format for 'credentials' be for other types of datasources? I feel that we shouldn't have to come to this forum for this sort of information.&lt;/P&gt;&lt;P&gt;* Rather than crafting a JSON string, it would be good if the PowerBI Client SDK supported a strongly-typed class for each datasource type.&lt;/P&gt;&lt;P&gt;* EncryptedConnection/PrivacyLevel/EncryptedAlgorithm: is there any documentation around these at all? When should they be used? What types of datasource do they apply to?&lt;/P&gt;&lt;P&gt;* Datasource Name: The&amp;nbsp;datasource object that is returned by various APIs has a 'DatasourceName' property - this is invariably blank. It would be handy to have this populated in the event that a report had multiple datasources of the same type - it is possible to distinguish between them via the ConnectionDetails property, however that is a bit tricky. I'm assuming that this relies on Power BI Desktop supporting datasource names that it currently doesn't.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 00:33:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-credentials-for-Azure-Table-Storage-via-Gateways/m-p/354103#M10530</guid>
      <dc:creator>jimmcslim</dc:creator>
      <dc:date>2018-02-08T00:33:05Z</dc:date>
    </item>
  </channel>
</rss>

