<?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: Set-PowerBIWorkspace error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/2970294#M40316</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/475779"&gt;@Charline_74&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to the error message, it seems that you didn't have the sufficient privileges&amp;nbsp;to do it.&lt;EM&gt;&lt;FONT color="#000000"&gt; &lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&amp;nbsp;administrator rights&lt;/STRONG&gt; (such as Office 365 Global Administrator or Power BI Service Administrator)&lt;/FONT&gt;&lt;/EM&gt; is &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;necessary&lt;/STRONG&gt; &lt;/FONT&gt;when you call this command. And it &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;only&lt;/STRONG&gt; &lt;/FONT&gt;support&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;the&lt;/EM&gt; workspaces in the new workspace experiences&lt;/STRONG&gt;. Please review the following official documentation for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/set-powerbiworkspace?view=powerbi-ps" target="_self"&gt;&lt;SPAN&gt;Set-PowerBIWorkspace&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/6582/power-bi-workspace-management-with-powershell/" target="_self" rel="nofollow noopener noreferrer"&gt;Renaming an existing workspace&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 09:19:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-15T09:19:28Z</dc:date>
    <item>
      <title>Set-PowerBIWorkspace error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/2967765#M40305</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to change the name of a workspace without success:&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-PowerBIWorkspace -Scope Organization -Id "1fe0391c-cc6f-495a-bd48-b397c1ea2481" -Name "Test DS WS" -Description "Test WS for PS Added some description"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'
Au caractère Ligne:1 : 1
+ Set-PowerBIWorkspace -Scope Organization -Id "1fe0391c-cc6f-495a-bd48 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:SetPowerBIWorkspace) [Set-PowerBIWorkspace], HttpOperationException
    + FullyQualifiedErrorId : Operation returned an invalid status code 'Unauthorized',Microsoft.PowerBI.Commands.Workspaces.SetPowerBIWorkspace&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:32:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/2967765#M40305</guid>
      <dc:creator>Charline_74</dc:creator>
      <dc:date>2022-12-14T10:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set-PowerBIWorkspace error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/2970294#M40316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/475779"&gt;@Charline_74&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to the error message, it seems that you didn't have the sufficient privileges&amp;nbsp;to do it.&lt;EM&gt;&lt;FONT color="#000000"&gt; &lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&amp;nbsp;administrator rights&lt;/STRONG&gt; (such as Office 365 Global Administrator or Power BI Service Administrator)&lt;/FONT&gt;&lt;/EM&gt; is &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;necessary&lt;/STRONG&gt; &lt;/FONT&gt;when you call this command. And it &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;only&lt;/STRONG&gt; &lt;/FONT&gt;support&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;the&lt;/EM&gt; workspaces in the new workspace experiences&lt;/STRONG&gt;. Please review the following official documentation for more details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/set-powerbiworkspace?view=powerbi-ps" target="_self"&gt;&lt;SPAN&gt;Set-PowerBIWorkspace&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/6582/power-bi-workspace-management-with-powershell/" target="_self" rel="nofollow noopener noreferrer"&gt;Renaming an existing workspace&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 09:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/2970294#M40316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-15T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set-PowerBIWorkspace error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/3190548#M42221</link>
      <description>&lt;P&gt;&amp;nbsp;Dear&amp;nbsp;@Anonymous, I get the point that the API User (Service Principal) need the administrator rights. But how can I add these (&lt;EM&gt;&lt;FONT color="#000000"&gt;Office 365 Global Administrator or Power BI Service Administrator) to the Service Principal?&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I get a quite similar error measseage when I want to change or add a workspace description to a workspace which was created by the service princial.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Best&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Manuel&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 06:15:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Set-PowerBIWorkspace-error/m-p/3190548#M42221</guid>
      <dc:creator>ManuelW</dc:creator>
      <dc:date>2023-04-17T06:15:50Z</dc:date>
    </item>
  </channel>
</rss>

