<?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 Connection help in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376995#M43853</link>
    <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Turns out I'm blind and didn't see that you could add the Service Principal in the AD group. Spent way too long on that. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'll keep my shame up here incase anyone else has the same problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 11 Aug 2023 20:45:02 GMT</pubDate>
    <dc:creator>ChopperDave</dc:creator>
    <dc:date>2023-08-11T20:45:02Z</dc:date>
    <item>
      <title>PowerShell Connection help</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376961#M43851</link>
      <description>&lt;P class=""&gt;Hi,&lt;/P&gt;&lt;P class=""&gt;I'm trying to get a service principal set up so I can connect to PowerBI with PowerShell. I want to do it in the background so the user won't have any interaction with the scripts.&lt;/P&gt;&lt;P class=""&gt;I've been following along with a video a found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://youtu.be/WaKvZgjTWmo?t=2937" target="_blank" rel="noopener"&gt;https://youtu.be/WaKvZgjTWmo?t=2937&lt;/A&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;but am running into a permissions issue.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class=""&gt;Get-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;I've set up the App Registration in Azure, set up a secret, and added the App as an admin on the PowerBI workspace. Also enabled developer settings in PowerBI and added a AD group that I set up to use PowerBI APIs. I even added the App as a member of the AD group despite it not being strictly instructed.&lt;/P&gt;&lt;P class=""&gt;Maybe that's what I'm missing. I don't see any instructions on how to connect the AD group to the App.&lt;/P&gt;&lt;P class=""&gt;I'd be happy to provide more information if needed.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:13:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376961#M43851</guid>
      <dc:creator>ChopperDave</dc:creator>
      <dc:date>2023-08-11T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection help</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376979#M43852</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;It's defiantly an issue with the "Allow service principals to use Power BI APIs" setting. I enabled it for "The entire organization" and it started working. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Not sure how to get the App in the group that I have set up.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:33:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376979#M43852</guid>
      <dc:creator>ChopperDave</dc:creator>
      <dc:date>2023-08-11T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Connection help</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376995#M43853</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Turns out I'm blind and didn't see that you could add the Service Principal in the AD group. Spent way too long on that. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'll keep my shame up here incase anyone else has the same problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:45:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connection-help/m-p/3376995#M43853</guid>
      <dc:creator>ChopperDave</dc:creator>
      <dc:date>2023-08-11T20:45:02Z</dc:date>
    </item>
  </channel>
</rss>

