<?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: Format of credentials for Gateways.UpdateDatasourceAsync in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Format-of-credentials-for-Gateways-UpdateDatasourceAsync/m-p/360356#M10728</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/39000"&gt;@jimmcslim&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After a few research, I haven't found any useful documentation to better understand the format of credentials for&amp;nbsp;Gateways.UpdateDatasourceAsync.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to be that the documentation for&amp;nbsp;Power BI Embedded libraries for .NET isn't helpful enough currently. So I would suggest you leave a comments &lt;A href="https://docs.microsoft.com/en-us/dotnet/api/overview/azure/powerbi-embedded?view=azure-dotnet" target="_self"&gt;here&lt;/A&gt;(bottom of the page) to give your feedback and improve the documentation.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2018 07:31:47 GMT</pubDate>
    <dc:creator>v-ljerr-msft</dc:creator>
    <dc:date>2018-02-19T07:31:47Z</dc:date>
    <item>
      <title>Format of credentials for Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Format-of-credentials-for-Gateways-UpdateDatasourceAsync/m-p/358485#M10664</link>
      <description>&lt;P&gt;Updating the credentials for a datasource is generally done using these sorts of JSON passed to UpdateDatasourceAsync...&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;,&amp;nbsp;&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;* 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>Wed, 14 Feb 2018 23:35:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Format-of-credentials-for-Gateways-UpdateDatasourceAsync/m-p/358485#M10664</guid>
      <dc:creator>jimmcslim</dc:creator>
      <dc:date>2018-02-14T23:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Format of credentials for Gateways.UpdateDatasourceAsync</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Format-of-credentials-for-Gateways-UpdateDatasourceAsync/m-p/360356#M10728</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/39000"&gt;@jimmcslim&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After a few research, I haven't found any useful documentation to better understand the format of credentials for&amp;nbsp;Gateways.UpdateDatasourceAsync.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to be that the documentation for&amp;nbsp;Power BI Embedded libraries for .NET isn't helpful enough currently. So I would suggest you leave a comments &lt;A href="https://docs.microsoft.com/en-us/dotnet/api/overview/azure/powerbi-embedded?view=azure-dotnet" target="_self"&gt;here&lt;/A&gt;(bottom of the page) to give your feedback and improve the documentation.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 07:31:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Format-of-credentials-for-Gateways-UpdateDatasourceAsync/m-p/360356#M10728</guid>
      <dc:creator>v-ljerr-msft</dc:creator>
      <dc:date>2018-02-19T07:31:47Z</dc:date>
    </item>
  </channel>
</rss>

