<?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: Powershell - Create datasource using Basic Authentication in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Create-datasource-using-Basic-Authentication/m-p/1503061#M26528</link>
    <description>&lt;P&gt;I have the same error. &lt;SPAN&gt;Anyone&lt;/SPAN&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 19:59:21 GMT</pubDate>
    <dc:creator>vpartem</dc:creator>
    <dc:date>2020-11-18T19:59:21Z</dc:date>
    <item>
      <title>Powershell - Create datasource using Basic Authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Create-datasource-using-Basic-Authentication/m-p/1175969#M24335</link>
      <description>&lt;P&gt;Hi, everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling trying to create a datasource in a gateway. Credentials I'm going to use are basic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problem could be how I have created the body. This is the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$body =
     @{value =
       @{connectionDetails = @("http://localhost/DynamicsNAV110/OData/")
         datasourceName = @("URL Base ODATA")
         dataSourceType = @("OData")
         credentialDetails = @(
           @{credentialType = "Basic"
             credentials = '{\"credentialData\":[{\"name\":\"username\", \"value\":\"john\"},{\"name\":\"password\", \"value\":\"*****\"}]}'
             encryptedConnection = "Encrypted"
             encryptionAlgorithm = "None"
             privacyLevel = "None"
            }
         )
        }
      }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this, please???..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 11:00:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Create-datasource-using-Basic-Authentication/m-p/1175969#M24335</guid>
      <dc:creator>Angel</dc:creator>
      <dc:date>2020-06-23T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell - Create datasource using Basic Authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Create-datasource-using-Basic-Authentication/m-p/1503061#M26528</link>
      <description>&lt;P&gt;I have the same error. &lt;SPAN&gt;Anyone&lt;/SPAN&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 19:59:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Create-datasource-using-Basic-Authentication/m-p/1503061#M26528</guid>
      <dc:creator>vpartem</dc:creator>
      <dc:date>2020-11-18T19:59:21Z</dc:date>
    </item>
  </channel>
</rss>

