<?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 Using Get-DataGatewayClusterDataSource in Powershell with Service Principal in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1393287#M25869</link>
    <description>&lt;P&gt;Hi everyone !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a project where we try to automatize the Gateways informations gathering. Make it non interactive.&lt;/P&gt;&lt;P&gt;For now, I successfully connnected to the service with the&amp;nbsp;Connect-DataGatewayServiceAccount cmdlet with a SPN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my problem is when I try to get the Datasources in each cluster with the&amp;nbsp;Get-DataGatewayClusterDataSource cmdlet, the result is empty and the following error returns :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; TerminatingError(Get-DataGatewayClusterDatasource): "This cmdlet does not currently support service principals."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if ther's any workaround for this ? Because if we try to connect to the Gateways with a regular account, a first-party application pops for connecting the account, and it doesn't fit our need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any piece of advice !&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 13:58:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-24T13:58:57Z</dc:date>
    <item>
      <title>Using Get-DataGatewayClusterDataSource in Powershell with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1393287#M25869</link>
      <description>&lt;P&gt;Hi everyone !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a project where we try to automatize the Gateways informations gathering. Make it non interactive.&lt;/P&gt;&lt;P&gt;For now, I successfully connnected to the service with the&amp;nbsp;Connect-DataGatewayServiceAccount cmdlet with a SPN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my problem is when I try to get the Datasources in each cluster with the&amp;nbsp;Get-DataGatewayClusterDataSource cmdlet, the result is empty and the following error returns :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; TerminatingError(Get-DataGatewayClusterDatasource): "This cmdlet does not currently support service principals."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if ther's any workaround for this ? Because if we try to connect to the Gateways with a regular account, a first-party application pops for connecting the account, and it doesn't fit our need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any piece of advice !&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:58:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1393287#M25869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-24T13:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Get-DataGatewayClusterDataSource in Powershell with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1394168#M25877</link>
      <description>&lt;P&gt;As it currently stands, using gateway commandlets with SPN is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can only call them with an account having PBI Admin role&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 21:45:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1394168#M25877</guid>
      <dc:creator>RakeshSinghr</dc:creator>
      <dc:date>2020-09-24T21:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Get-DataGatewayClusterDataSource in Powershell with Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1395046#M25887</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/90017"&gt;@RakeshSinghr&lt;/a&gt;&amp;nbsp;, thanks for your reply !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then why does Connect-DatagatewayServiceAccount allows SPN ? Is there a chance that gateway cmdlets will be used with SPN in the future ?&lt;BR /&gt;&lt;BR /&gt;Also, is there a workaround for this (Call an API ? Something else ? ) or to at least avoid the authentication window when connecting ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 07:58:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-Get-DataGatewayClusterDataSource-in-Powershell-with/m-p/1395046#M25887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-25T07:58:28Z</dc:date>
    </item>
  </channel>
</rss>

