<?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 How to automatically generate bearer token and execute a url to retrieve a list of PBI workspaces? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3573485#M45696</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to use the PBI Rest API to automate the retrieval and storage of a workspace list. We need to first generate a bearer token to execute this url:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and put the results in ADLS.&amp;nbsp;&lt;/SPAN&gt;Can this be automated in Azure/Fabric using Azure Data Factory or some other tool?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 22:36:50 GMT</pubDate>
    <dc:creator>Neka</dc:creator>
    <dc:date>2023-12-07T22:36:50Z</dc:date>
    <item>
      <title>How to automatically generate bearer token and execute a url to retrieve a list of PBI workspaces?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3573485#M45696</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to use the PBI Rest API to automate the retrieval and storage of a workspace list. We need to first generate a bearer token to execute this url:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and put the results in ADLS.&amp;nbsp;&lt;/SPAN&gt;Can this be automated in Azure/Fabric using Azure Data Factory or some other tool?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 22:36:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3573485#M45696</guid>
      <dc:creator>Neka</dc:creator>
      <dc:date>2023-12-07T22:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically generate bearer token and execute a url to retrieve a list of PBI workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3573883#M45699</link>
      <description>&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Generate Bearer Token:&lt;/STRONG&gt; It's like a special key. Go to your Power BI service, find your profile, and create an app. This app gives you the key (Bearer Token).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use a URL:&lt;/STRONG&gt; Think of the URL like a request form. Craft a URL with specific details, like asking for a list of workspaces. Attach your Bearer Token to this request form.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Send the Request:&lt;/STRONG&gt; Imagine mailing this form. Use a programming language (like Python or JavaScript) to automatically send this URL request. The Bearer Token acts as your signature to get a response.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Receive the List:&lt;/STRONG&gt; Just like getting a package in the mail, your program receives a response. It contains the list of Power BI workspaces you asked for.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 08 Dec 2023 06:13:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3573883#M45699</guid>
      <dc:creator>soniya-01</dc:creator>
      <dc:date>2023-12-08T06:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically generate bearer token and execute a url to retrieve a list of PBI workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3605013#M46589</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/412811"&gt;@Neka&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Perhaps you can take a look at the following document about generated token for rest api usage if helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token" target="_blank"&gt;Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&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, 28 Dec 2023 09:05:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3605013#M46589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-28T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically generate bearer token and execute a url to retrieve a list of PBI workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3606098#M46758</link>
      <description>&lt;P&gt;I had the same issue and took alot of time to try and figure it out. I created a post that lays it all out. Hope it helps!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/To-get-Power-BI-API-Access-Token-dynamically-make-sure-to-do/m-p/3606097#M46757" target="_blank"&gt;To get Power BI API Access Token dynamically, make... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 20:36:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-automatically-generate-bearer-token-and-execute-a-url-to/m-p/3606098#M46758</guid>
      <dc:creator>uahmed114pbi</dc:creator>
      <dc:date>2023-12-28T20:36:19Z</dc:date>
    </item>
  </channel>
</rss>

