<?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 Accessing Intersight data from power BI ? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286551#M3367</link>
    <description>&lt;P&gt;Hi, anyone managed to connect Power BI to intersight using the REST API ? I've tried following some guidelines but couldn't achieve it.&lt;/P&gt;&lt;P&gt;I created the API Key and got the secret Key, with some online help managed to setup the Power BI query to invoke a local python script to create the required HMAC to make the request to the Intersight API, but get the error 401 on return from the API, with:&lt;/P&gt;&lt;P&gt;{"code":"AuthenticationFailure","message":"Cannot process the request. The cookie 'X-Starship-Token' is invalid.","messageId":"iam_cookie_invalid","messageParams":{"1":"X-Starship-token"},"traceId":"ivLkk3LpVdlB2hXnL89VzCnvQ_PcY8DOXhlbIdJNzcC2yJiWgqoilw=="}&lt;/P&gt;&lt;P&gt;What is this X-Starship-Token cookie and how can I get it? or if there's a simplier way??&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or guideline!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 11:06:31 GMT</pubDate>
    <dc:creator>Paulo Abreu</dc:creator>
    <dc:date>2025-04-30T11:06:31Z</dc:date>
    <item>
      <title>Accessing Intersight data from power BI ?</title>
      <link>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286551#M3367</link>
      <description>&lt;P&gt;Hi, anyone managed to connect Power BI to intersight using the REST API ? I've tried following some guidelines but couldn't achieve it.&lt;/P&gt;&lt;P&gt;I created the API Key and got the secret Key, with some online help managed to setup the Power BI query to invoke a local python script to create the required HMAC to make the request to the Intersight API, but get the error 401 on return from the API, with:&lt;/P&gt;&lt;P&gt;{"code":"AuthenticationFailure","message":"Cannot process the request. The cookie 'X-Starship-Token' is invalid.","messageId":"iam_cookie_invalid","messageParams":{"1":"X-Starship-token"},"traceId":"ivLkk3LpVdlB2hXnL89VzCnvQ_PcY8DOXhlbIdJNzcC2yJiWgqoilw=="}&lt;/P&gt;&lt;P&gt;What is this X-Starship-Token cookie and how can I get it? or if there's a simplier way??&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or guideline!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 11:06:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286551#M3367</guid>
      <dc:creator>Paulo Abreu</dc:creator>
      <dc:date>2025-04-30T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Intersight data from power BI ?</title>
      <link>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286582#M3368</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1872150"&gt;@Paulo Abreu&lt;/a&gt;, Welcome to the community!&lt;/P&gt;
&lt;P&gt;You will need to supply some more information:&lt;BR /&gt;Can you post the request you are using or the code? What authentication method are you using?&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;X-Starship-Token should be set to your API key if that is your chosen auth method.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 12:30:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286582#M3368</guid>
      <dc:creator>Torbjørn</dc:creator>
      <dc:date>2025-04-30T12:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Intersight data from power BI ?</title>
      <link>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286588#M3369</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/964504"&gt;@Torbjørn&lt;/a&gt;&amp;nbsp;for your help. I am not very familiar with python, but here it goes:&lt;/P&gt;&lt;P&gt;An example of the request tested in browser:&lt;/P&gt;&lt;P&gt;&lt;A href="http://127.0.0.1:5000/intersight?endpoint=compute/PhysicalSummaries" target="_blank" rel="noopener"&gt;http://127.0.0.1:5000/intersight?endpoint=compute/PhysicalSummaries&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the request to the local http server running the python script that makes the call to the API. The script is attached (I masked the API key as KKKKKK and the secret Key as SSSSSS).&lt;/P&gt;&lt;P&gt;Thanks. Regards&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 12:44:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5286588#M3369</guid>
      <dc:creator>Paulo Abreu</dc:creator>
      <dc:date>2025-04-30T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Intersight data from power BI ?</title>
      <link>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5287239#M3370</link>
      <description>&lt;P&gt;I unfortunately don't have anywhere to test the code currently as the Intersight sandbox has been removed. Hence I think it would probably take a while to figure out the auth as I am unable to test &amp;amp; verify. I would suggest using the Intersight Python SDK to avoid handling auth yourself:&amp;nbsp;&lt;A href="https://github.com/CiscoDevNet/intersight-python" target="_blank" rel="noopener"&gt;https://github.com/CiscoDevNet/intersight-python&lt;/A&gt;. Alternatively you could use that to try to reverse engineer what your requests should look like. Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 13:56:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/accessing-intersight-data-from-power-bi/m-p/5287239#M3370</guid>
      <dc:creator>Torbjørn</dc:creator>
      <dc:date>2025-05-02T13:56:21Z</dc:date>
    </item>
  </channel>
</rss>

