<?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 script to connect to Power BI but without using a Service Principal in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-script-to-connect-to-Power-BI-but-without-using-a/m-p/2779941#M38745</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It’s very straightforward and quick to prototype solutions that make Power BI Rest API calls. Just log in to Power BI by using the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Login-PowerBI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;cmdlet. It supports user accounts, service principals, and application credentials (key or certificate). Then fire away by using one of the pre-built cmdlets or use the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Invoke-PowerBIRestMethod&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;cmdlet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, please refer to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps" target="_blank"&gt;Power BI Cmdlets reference | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/working-with-powershell-in-power-bi/" target="_blank"&gt;Working with PowerShell in Power BI | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 08:31:04 GMT</pubDate>
    <dc:creator>v-jianboli-msft</dc:creator>
    <dc:date>2022-09-20T08:31:04Z</dc:date>
    <item>
      <title>Powershell script to connect to Power BI but without using a Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-script-to-connect-to-Power-BI-but-without-using-a/m-p/2777201#M38718</link>
      <description>&lt;P&gt;I would like to use a PowerShell script for Azure Devops but I would like to be able to connect to my personal account and not to a Service Principal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:35:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-script-to-connect-to-Power-BI-but-without-using-a/m-p/2777201#M38718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-19T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell script to connect to Power BI but without using a Service Principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-script-to-connect-to-Power-BI-but-without-using-a/m-p/2779941#M38745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It’s very straightforward and quick to prototype solutions that make Power BI Rest API calls. Just log in to Power BI by using the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Login-PowerBI&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;cmdlet. It supports user accounts, service principals, and application credentials (key or certificate). Then fire away by using one of the pre-built cmdlets or use the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Invoke-PowerBIRestMethod&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;cmdlet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, please refer to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps" target="_blank"&gt;Power BI Cmdlets reference | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/working-with-powershell-in-power-bi/" target="_blank"&gt;Working with PowerShell in Power BI | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 08:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-script-to-connect-to-Power-BI-but-without-using-a/m-p/2779941#M38745</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-09-20T08:31:04Z</dc:date>
    </item>
  </channel>
</rss>

