<?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: Bad request when assigning workspace to the capacity in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Bad-request-when-assigning-workspace-to-the-capacity/m-p/5125972#M64648</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/107617"&gt;@jaryszek&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I havent tried via API but here some thing I would try to figure the issue out based on the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- check if the trial capacity is available in the Fabric UI and can be selected (as error message stating it is not in active state) and assigned to your dedicated workspace.&lt;/P&gt;
&lt;P&gt;- check your rights on the respective capacity and workspace if you are allowed to perform this operation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Best regards!&lt;/P&gt;
&lt;P class=""&gt;PS: If you find this post helpful consider leaving kudos or mark it as solution&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2026 09:48:52 GMT</pubDate>
    <dc:creator>Mauro89</dc:creator>
    <dc:date>2026-03-05T09:48:52Z</dc:date>
    <item>
      <title>Bad request when assigning workspace to the capacity</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bad-request-when-assigning-workspace-to-the-capacity/m-p/5125461#M64645</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I created the new capacity using rest apis.&amp;nbsp;&lt;BR /&gt;And now I want to assigned trial capacity to this using also rest apis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{{targetGroupId}}/AssignToCapacity
Authorization: Bearer {{$aadV2Token appOnly}}
Content-Type: application/json; charset=utf-8

{
  "capacityId": "{{targetCapacityId}}"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and getting:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;HTTP/1.1 400 Bad Request
Cache-Control: no-store, must-revalidate, no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: deny
X-Content-Type-Options: nosniff
RequestId: 52c77ca8-619c-4c1d-b4a2-91945b9b2cf3
Access-Control-Expose-Headers: RequestId
request-redirected: true
home-cluster-uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/
Date: Wed, 04 Mar 2026 13:57:29 GMT
Connection: close

{
  "error": {
    "code": "CapacityNotInActiveState",
    "pbi.error": {
      "code": "CapacityNotInActiveState"
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anybody did this making? Maybe trial is not available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Jacek&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 13:57:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bad-request-when-assigning-workspace-to-the-capacity/m-p/5125461#M64645</guid>
      <dc:creator>jaryszek</dc:creator>
      <dc:date>2026-03-04T13:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bad request when assigning workspace to the capacity</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Bad-request-when-assigning-workspace-to-the-capacity/m-p/5125972#M64648</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/107617"&gt;@jaryszek&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I havent tried via API but here some thing I would try to figure the issue out based on the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- check if the trial capacity is available in the Fabric UI and can be selected (as error message stating it is not in active state) and assigned to your dedicated workspace.&lt;/P&gt;
&lt;P&gt;- check your rights on the respective capacity and workspace if you are allowed to perform this operation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Best regards!&lt;/P&gt;
&lt;P class=""&gt;PS: If you find this post helpful consider leaving kudos or mark it as solution&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 09:48:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Bad-request-when-assigning-workspace-to-the-capacity/m-p/5125972#M64648</guid>
      <dc:creator>Mauro89</dc:creator>
      <dc:date>2026-03-05T09:48:52Z</dc:date>
    </item>
  </channel>
</rss>

