<?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) Connect-PowerBIServiceAccount not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679973#M28005</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/194221"&gt;@h4tt3n&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I test the&amp;nbsp;Connect-PowerBIServiceAccount with OAuth mode and it works well. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;What authorization mode you work on? Did this issue still appear on your side? Any policy or rule change that applies to your device/environment? (they may block power bi requests) Please share more detailed information to help us clarify these.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 06:36:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-02-22T06:36:40Z</dc:date>
    <item>
      <title>(PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1677322#M27959</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since yesterday I have been unable to log on to PBI service through PowerShell with the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Connect-PowerBIServiceAccount command. I have been working with PBI service management via PS scripts for some time, adding/deleting reports, refreshing datasets, managing refresh schedules an so on, and it has worked really well until now.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is critical that the error is found quickly, since it is preventing me from doing my job and keeps the many PBI reports of our company hanging in an unmanaged state.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What could be the cause of this error? It turned up overnight and is not caused by any change in the scripts or developer environment (VS Code).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is the error mesage:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV class="outer"&gt;&lt;DIV class="middle app"&gt;&lt;DIV class="inner wide fade-in-lightbox"&gt;&lt;DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="pagination-view animate slide-in-next"&gt;&lt;DIV&gt;&lt;DIV class="row text-body"&gt;&lt;P class="text-block-body no-margin-top"&gt;Sorry, but we’re having trouble signing you in.&lt;/P&gt;&lt;/DIV&gt;&lt;!--      ko if: svr.fDebugModeEnabled      --&gt;&lt;!--      /ko      --&gt;&lt;DIV class="row text-body"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="row text-body"&gt;AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'ea0616ba-638b-4df5-95b9-636659ae5121'.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;Request Id: 18389c28-151c-4286-aaf4-67606d172e00&lt;BR /&gt;&lt;BR /&gt;Correlation Id: f79280b7-ad4f-4119-a7ad-5e6ef4b33032&lt;/P&gt;&lt;P&gt;Timestamp: 2021-02-19T11:53:23Z&lt;BR /&gt;&lt;BR /&gt;Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'ea0616ba-638b-4df5-95b9-636659ae5121'.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Feb 2021 12:15:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1677322#M27959</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-02-19T12:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679973#M28005</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/194221"&gt;@h4tt3n&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I test the&amp;nbsp;Connect-PowerBIServiceAccount with OAuth mode and it works well. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;What authorization mode you work on? Did this issue still appear on your side? Any policy or rule change that applies to your device/environment? (they may block power bi requests) Please share more detailed information to help us clarify these.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 06:36:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679973#M28005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-22T06:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679988#M28006</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem has disappeared again over the weekend. I assume it was due to overload on parts of the Microsoft servers or a small bug that was caught and fixed quickly.&lt;BR /&gt;&lt;BR /&gt;Cheers, Mike&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 06:48:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679988#M28006</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-02-22T06:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679989#M28007</link>
      <description>&lt;P&gt;Problem disappeared by itself after 3 days.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 06:49:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/1679989#M28007</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-02-22T06:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2021124#M31181</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing the same exact problem today.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2021124#M31181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-17T11:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2030803#M31261</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/12837" target="_blank"&gt;@v-shex-msft&lt;/A&gt;, I have this problem for a week already and it doesn't go away.&lt;BR /&gt;I've also checked App Registrations and there is no such app with the ID&amp;nbsp;&lt;SPAN&gt;'ea0616ba-638b-4df5-95b9-636659ae5121'.&amp;nbsp;&lt;/SPAN&gt;Any thoughts? Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 00:34:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2030803#M31261</guid>
      <dc:creator>alexgor87</dc:creator>
      <dc:date>2021-08-23T00:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2031206#M31264</link>
      <description>&lt;P&gt;OP here, now we are experiencing the same problem again, and is has persisted for several days.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 06:05:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2031206#M31264</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-23T06:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2034605#M31306</link>
      <description>&lt;P&gt;OP here. The problem has returned again, and has persisted for about a week. No changes has been made on our side to any PS scripts. We get the exact same error message. What is the issue, and can we do anything about it?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2034605#M31306</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-24T10:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039423#M31355</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/190466"&gt;@alexgor87&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you do not change the setting on these function usage but this issue appears frequently. It means the issues may be related to some backend/remote processing of these function usages.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In my opinion, I'd like to suggest contact to the author of the packages to report this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 06:05:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039423#M31355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-26T06:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039465#M31357</link>
      <description>&lt;P&gt;Exactly my thought. We use Microsofts official PowerBi management package, so I think the best thing to do is open a ticket with their support.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 06:25:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039465#M31357</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-26T06:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039701#M31363</link>
      <description>&lt;P&gt;I was just about to raise the ticket, and I checked the version of the MicrosoftPowerBIMgmt&amp;nbsp; package. Mine was 1.0.896, while the latest is &lt;SPAN&gt;1.2.1026:&lt;BR /&gt;&lt;A href="https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt/1.2.1026" target="_blank" rel="noopener"&gt;https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt/1.2.1026&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;So&amp;nbsp;&lt;/SPAN&gt;I updated the module and all dependent modules:&lt;BR /&gt;MicrosoftPowerBIMgmt.Admin (&amp;gt;= 1.2.1026)&lt;BR /&gt;MicrosoftPowerBIMgmt.Capacities (&amp;gt;= 1.2.1026)&lt;BR /&gt;MicrosoftPowerBIMgmt.Data (&amp;gt;= 1.2.1026)&lt;BR /&gt;MicrosoftPowerBIMgmt.Profile (&amp;gt;= 1.2.1026)&lt;BR /&gt;MicrosoftPowerBIMgmt.Reports (&amp;gt;= 1.2.1026)&lt;BR /&gt;MicrosoftPowerBIMgmt.Workspaces (&amp;gt;= 1.2.1026)&lt;BR /&gt;&lt;BR /&gt;and the problem has gone! Hope this will work for you too!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 07:54:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039701#M31363</guid>
      <dc:creator>alexgor87</dc:creator>
      <dc:date>2021-08-26T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039788#M31364</link>
      <description>&lt;P&gt;Thank you for the feedback. I have tried this solution, but unfortunately it did not solve the problem. May I ask what dev tools you are using? I am using VS code with powershell 5.1 for development.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 08:26:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039788#M31364</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-26T08:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039834#M31365</link>
      <description>&lt;P&gt;I uninstalled the powershell module and reinstalled it again to update to the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now receive a different error:&lt;/P&gt;&lt;P&gt;Login-PowerBI -Credential $credential&lt;BR /&gt;Login-PowerBI : One or more errors occurred.&lt;BR /&gt;At line:1 char:5&lt;BR /&gt;+ Login-PowerBI -Credential $credential&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : WriteError: (Microsoft.Power...IServiceAccount:ConnectPowerBIServiceAccount) [Connect-PowerBIServiceAccount], AggregateException&lt;BR /&gt;+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAccount&lt;BR /&gt;&lt;BR /&gt;WARNING: (False) MSAL 4.25.0.0 MSAL.Desktop Microsoft Windows NT 10.0.19042.0 [08/26/2021 08:30:16 - a8595795-2a3c-4957-a9c1-289ad9698d27] Request retry failed.&lt;BR /&gt;WARNING: (False) MSAL 4.25.0.0 MSAL.Desktop Microsoft Windows NT 10.0.19042.0 [08/26/2021 08:30:16 - a8595795-2a3c-4957-a9c1-289ad9698d27] Exception type: Microsoft.Identity.Client.MsalUiRequ&lt;BR /&gt;iredException&lt;BR /&gt;, ErrorCode: invalid_grant&lt;BR /&gt;HTTP StatusCode 400&lt;BR /&gt;CorrelationId a8595795-2a3c-4957-a9c1-289ad9698d27&lt;/P&gt;&lt;P&gt;WARNING: (False) MSAL 4.25.0.0 MSAL.Desktop Microsoft Windows NT 10.0.19042.0 [08/26/2021 08:30:16 - a8595795-2a3c-4957-a9c1-289ad9698d27] Exception type: Microsoft.Identity.Client.MsalUiRequ&lt;BR /&gt;iredException&lt;BR /&gt;, ErrorCode: invalid_grant&lt;BR /&gt;HTTP StatusCode 400&lt;BR /&gt;CorrelationId a8595795-2a3c-4957-a9c1-289ad9698d27&lt;/P&gt;&lt;P&gt;at Microsoft.Identity.Client.OAuth2.OAuth2Client.ThrowServerException(HttpResponse response, RequestContext requestContext)&lt;BR /&gt;at Microsoft.Identity.Client.OAuth2.OAuth2Client.CreateResponse[T](HttpResponse response, RequestContext requestContext)&lt;BR /&gt;at Microsoft.Identity.Client.OAuth2.OAuth2Client.&amp;lt;ExecuteRequestAsync&amp;gt;d__11`1.MoveNext()&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 08:36:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2039834#M31365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-26T08:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2041595#M31377</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I was running the commands from the standard Windows PowerShell terminal (5.1) as administrator. I also have VS Code, but I don't use very complex scripts so there's nothing much to develop at the moment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 00:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2041595#M31377</guid>
      <dc:creator>alexgor87</dc:creator>
      <dc:date>2021-08-27T00:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2042736#M31392</link>
      <description>&lt;P&gt;This is interesting: The script runs fine in the PowerShell ISE editor, but it won't run in VS code. IF you are having problems, try updating the MicrosoftPowerBIMgmt module with the command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Install-Module MicrosoftPowerBIMgmt -force -AllowClobber&lt;BR /&gt;&lt;BR /&gt;and then run the script in either PS command line tool or ISE. This has worked for me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, since VS code is a superior toll over cmd or ISE, and sinc it is a Microsoft product, I am holding my support ticket open.&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Aug 2021 10:57:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2042736#M31392</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-27T10:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2042742#M31393</link>
      <description>&lt;P&gt;OP here, problem is partially solved. The script runs fine in the PowerShell ISE editor, but it won't run in VS code. If you are having problems, try updating the MicrosoftPowerBIMgmt module with the command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Install-Module MicrosoftPowerBIMgmt -force -AllowClobber&lt;BR /&gt;&lt;BR /&gt;and then run the script in either PS command line tool or ISE. This has worked for me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, since VS code is a superior toll over cmd or ISE, and sinc it is a Microsoft product, I am holding my support ticket open.&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Aug 2021 11:07:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2042742#M31393</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-08-27T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2068883#M31665</link>
      <description>&lt;P&gt;Problem found and solved!&lt;/P&gt;&lt;P&gt;It turned out that an update to the PowerShell extension for VS Code set this value "powershell.useX86Host": true. In other words, it started running 32 bit as default. Manually changing it back to x64 like shown in the screenshots belov solved the problem:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="h4tt3n_0-1631275565268.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/591188i5E3E4FE14527EA3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="h4tt3n_0-1631275565268.png" alt="h4tt3n_0-1631275565268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="h4tt3n_1-1631275575535.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/591189i4BB0FDA3FC90311D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="h4tt3n_1-1631275575535.png" alt="h4tt3n_1-1631275575535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers, Mike&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 12:12:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2068883#M31665</guid>
      <dc:creator>h4tt3n</dc:creator>
      <dc:date>2021-09-10T12:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2188507#M32895</link>
      <description>&lt;P&gt;This fixed the issue for me, thank you for sharing!&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 16:47:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2188507#M32895</guid>
      <dc:creator>carloscantu</dc:creator>
      <dc:date>2021-11-13T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: (PowerShell) Connect-PowerBIServiceAccount not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2655558#M37508</link>
      <description>&lt;P&gt;I was using Service Principal method to sign in and had the same error. I was noticed it was working fine in x86 version of PowerShell ISE however.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size="4"&gt;The problem&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Connect-PowerBIServiceAccount -ServicePrincipal -CertificateThumbprint xxxx -ApplicationId xxxx&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;..Kept throwing errors such as :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;Login-PowerBIServiceAccount : One or more errors occurred.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Login-PowerBIServiceAccount&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&amp;nbsp; &amp;nbsp; + CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: WriteError: (Microsoft.Power...IServiceAccount:ConnectPowerBIServiceAccount) [Connect-PowerBIServiceAccount], AggregateException&lt;BR /&gt;&amp;nbsp; &amp;nbsp; + FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAccount&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;--&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution was this:&lt;BR /&gt;&lt;BR /&gt;1) Close all open powershell sessions. Go to&lt;STRONG&gt; C:\Program Files\WindowsPowerShell\Modules&lt;/STRONG&gt; and delete all MicrosoftPowerBIMgmt modules (folders) manually&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2) Open PowerShell ISE as admin , and run&lt;/P&gt;&lt;PRE&gt; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
  Unregister-PSRepository -&lt;SPAN class=""&gt;Name&lt;/SPAN&gt; PSGallery
  &lt;SPAN class=""&gt;Register&lt;/SPAN&gt;-PSRepository -&lt;SPAN class=""&gt;Default&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Make sure this command works and finds shows version of 1.2.1077 (or above)&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;Find-Module MicrosoftPowerBIMgmt&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agneum_0-1658490598527.png" style="width: 572px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/752680i8CBBDA02570F5C7E/image-dimensions/572x32?v=v2" width="572" height="32" role="button" title="agneum_0-1658490598527.png" alt="agneum_0-1658490598527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Install the module again&lt;/P&gt;&lt;PRE&gt; Install-Module MicrosoftPowerBIMgmt -force -AllowClobber&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The service account (app registration) needed access to the Power BI API, and I also had to enable &lt;STRONG&gt;"&lt;SPAN&gt;Allow service principals to use Power BI APIs"&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;under tenant settings. (I used security group at first, but removed it, not sure if it's related to the issue)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agneum_1-1658490713547.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/752681iCBBB1A60BE161D21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agneum_1-1658490713547.png" alt="agneum_1-1658490713547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agneum_2-1658490801774.png" style="width: 708px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/752684i33ACFEF21606D03C/image-dimensions/708x285?v=v2" width="708" height="285" role="button" title="agneum_2-1658490801774.png" alt="agneum_2-1658490801774.png" /&gt;&lt;/span&gt;&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;</description>
      <pubDate>Fri, 22 Jul 2022 11:56:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-Connect-PowerBIServiceAccount-not-working/m-p/2655558#M37508</guid>
      <dc:creator>agneum</dc:creator>
      <dc:date>2022-07-22T11:56:23Z</dc:date>
    </item>
  </channel>
</rss>

