<?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: How To: Get embed token using Get/Post only in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/467761#M14377</link>
    <description>&lt;P&gt;could you please send screenshot of step no 2 in postman&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jul 2018 12:57:48 GMT</pubDate>
    <dc:creator>riyanka</dc:creator>
    <dc:date>2018-07-20T12:57:48Z</dc:date>
    <item>
      <title>How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/294475#M8672</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1: Authorize App&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://dev.powerbi.com/apps" target="_self"&gt;Register App&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I used a native app, it was the simplest solution. You can use a server-web app, but you will need to add client_secret anywhere you see client_id in this walkthrough. You will need to at least have read permissions enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2: Get Access Token (post)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;POST: https://login.microsoftonline.com/common/oauth2/token
data: {
    grant_type: password
    scope: openid
    resource: https://analysis.windows.net/powerbi/api
    client_id: {Client ID}
    username: {PBI Account Username}
    password: {PBI Account Username}
}

--Returns Json:
 
{
    "token_type": "Bearer",
    "scope": "Report.Read.All ...",
    "expires_in": "xxxx",
    "ext_expires_in": "0",
    "expires_on": "xxxxxxxxxx",
    "not_before": "xxxxxxxxxxx",
    "resource": "https://analysis.windows.net/powerbi/api",
    "access_token": "eyJ0eXAi...",
    "refresh_token": "AQABA...",
    "id_token": "eyJ...."
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3: Get Report details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This can be done two different ways. The simplest way is to navigate to your report on the Power Bi website and pull the report id and group id from the url.&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://app.powerbi.com/groups/%7BGROUP" target="_blank"&gt;&lt;SPAN class="pln"&gt;https&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="com"&gt;//app.powerbi.com/groups/{GROUP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="com"&gt; ID}/reports/{REPORT ID}/ReportSection&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I needed to pull different reports from a given group, so here is the get request to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;GET https://api.powerbi.com/v1.0/myorg/groups/{GROUP ID}/reports
headers = {
Authorization: Bearer + {access_token from first post}
}

Returns Json:
{
    "@odata.context": "http://wabi-west-us-redirect.analysis.windows.net/v1.0/myorg/groups/.../$metadata#reports",
    "value": [
        {
            "id": "...",
            "modelId": 0,
            "name": "...",
            "webUrl": "...",
            "embedUrl": "https://app.powerbi.com/reportEmbed?reportId={REPORT ID}&amp;amp;groupId={GROUP ID}",
            "isOwnedByMe": true,
            "isOriginalPbixReport": false,
            "datasetId": "..."
        },
... Repeated for other Reports in Group
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 4: Get Embed token&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the old Power Bi server (through Azure) you could encode your own embed token, in the September&amp;nbsp;2017 update Microsoft started to require that you use the rest api&amp;nbsp;or one of the available SDKs.&amp;nbsp; In the "data" section you can pass arguments to implement row level security (&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/" target="_self"&gt;link&lt;/A&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;&lt;PRE&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{GROUP ID}/reports/{REPORT ID}/GenerateToken
headers = {
Authorization: Bearer + {access_token from first post}
Content-Type:application/json; charset=utf-8
Accept:application/json
}
data= {
  "accessLevel": "View",
  "allowSaveAs": "false"
}

Returns Json:
{
    "@odata.context": "http://wabi-west-us-redirect.analysis.windows.net/v1.0/myorg/groups/{GROUP_ID}/$metadata#Microsoft.PowerBI.ServiceContracts.Api.V1.GenerateTokenResponse",
    "token": "H4sIAAAAAAA...",
    "tokenId": "...",
    "expiration": "yyyy-mm-ddTxx:xxxxx"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 5: Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Go to the Microsoft Power BI Embedded Sample site (&lt;A href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html" target="_self"&gt;link&lt;/A&gt;) and test your report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input fields are as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Embed Token: {token from final post}&lt;/LI&gt;&lt;LI&gt;Embed URL: &lt;A href="https://app.powerbi.com/reportEmbed?reportId={REPORT" target="_blank"&gt;https://app.powerbi.com/reportEmbed?reportId={REPORT&lt;/A&gt; ID}&amp;amp;groupId={GROUP ID}&lt;/LI&gt;&lt;LI&gt;Report Id: {REPORT ID}&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can also test the embedded report using the following :&lt;/P&gt;&lt;PRE&gt;&amp;lt;html&amp;gt;
&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;

window.onload = function () {
var embedConfiguration = {
    type: 'report',
	accessToken: '{access_token}',
	embedUrl: 'https://app.powerbi.com/reportEmbed?reportId={REPORT ID}&amp;amp;groupId={GROUP ID}',
	id:'{REPORT ID}',
settings: {
              {settings_ from link}
            }
	}; 
var $reportContainer = $('#dashboardContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
}

function reloadreport(){
	var element = $('#dashboardContainer');
	alert(element);
	var report = powerbi.get(element);
	report.reload().catch(error =&amp;gt; {console.log(error)  });
};
&amp;lt;/script&amp;gt; 
&amp;lt;div id="dashboardContainer"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/html&amp;gt;  &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Available settings can be found &lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Disclaimer:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This code comes with no warranty&amp;nbsp;and no guarantees.&amp;nbsp; It is HIGHLY likely that Microsoft will change something and this walkthrough will become depreciated. Please check your PowerBi agreement to make sure that the steps listed in this walkthrough adhere to the agreed upon terms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tags:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Python, embedded, token, access token, get, post, REST API, ruby, PHP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;EDIT 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Added space to prevent &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt; and &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; in code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Turned down sarcasm and added links.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 13:55:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/294475#M8672</guid>
      <dc:creator>adamwallace3</dc:creator>
      <dc:date>2017-11-02T13:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/294734#M8678</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/33078"&gt;@adamwallace3&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your sharing. It really helps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:45:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/294734#M8678</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-11-02T05:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/384926#M11434</link>
      <description>&lt;P&gt;I tried with native app approach and it works when I use UserCredentials (username &amp;amp; password). But if I use a web app and use client id , client secret it always says unauthorised. Is there a limitation that PowerBI APIs only works with user credentials?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 17:33:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/384926#M11434</guid>
      <dc:creator>unnie</dc:creator>
      <dc:date>2018-03-27T17:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/388140#M11535</link>
      <description>&lt;P&gt;I am able to follow thorugh until the last step. When&amp;nbsp; I use the HTML code with the Javascript nothing happens. I am able to perform all the following steps and obtain all the needed information. I am also able to input my token information into the sample website linked in the post and my report loads.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is in a simple angular app. What do I need to do after I have my embeded token in order to display the ebmedded report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 19:17:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/388140#M11535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-02T19:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/399460#M11898</link>
      <description>&lt;P&gt;This has been a great help, as I am in a PHP shop, and all of the examples on the Power BI Developer site are in C#.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 19:31:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/399460#M11898</guid>
      <dc:creator>andyparkerson</dc:creator>
      <dc:date>2018-04-18T19:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/407774#M12149</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;need to pass the PowerBI credential&amp;nbsp;because that is how the licensing model of Power BI works. That was&amp;nbsp;MS can satisfy that the user who is trying to&amp;nbsp;embed report is Power BI Pro user and that has the &lt;A title="Power Bi Embedded Capacity" href="https://powerbi.microsoft.com/en-us/power-bi-embedded/" target="_blank"&gt;Power Bi Embedded&lt;/A&gt; capaciy.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 06:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/407774#M12149</guid>
      <dc:creator>nitin_sp</dc:creator>
      <dc:date>2018-05-01T06:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439096#M13549</link>
      <description>&lt;P&gt;Thanks for sharing and sorry for the novice question but how and where can I run this code?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 17:41:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439096#M13549</guid>
      <dc:creator>azulcore</dc:creator>
      <dc:date>2018-06-13T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439102#M13550</link>
      <description>&lt;P&gt;This isn't code, but rather pseudocode. You would need to implement it in whatever language you are writing in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best thing to do is probably try Postman, at&amp;nbsp;&lt;A href="https://www.getpostman.com/.&amp;nbsp;You" target="_blank"&gt;https://www.getpostman.com/.&amp;nbsp;You&lt;/A&gt; can use that to send GET/POST commands to the API.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 17:53:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439102#M13550</guid>
      <dc:creator>andyparkerson</dc:creator>
      <dc:date>2018-06-13T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439112#M13551</link>
      <description>&lt;P&gt;Thank you! I was able to run it!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 18:13:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439112#M13551</guid>
      <dc:creator>azulcore</dc:creator>
      <dc:date>2018-06-13T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439781#M13559</link>
      <description>&lt;P&gt;Steps 1 and 2 run as expected, when I run step 3 &amp;amp; 4 it just returns blank, any ideas?&lt;/P&gt;&lt;P&gt;Sorry, I am using Postman and I added the quotes around the token, once I removed the quotes it worked fine.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:16:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/439781#M13559</guid>
      <dc:creator>azulcore</dc:creator>
      <dc:date>2018-06-14T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/441165#M13599</link>
      <description>&lt;P&gt;All of the steps work except for the last step. I entered all the values in the &lt;A href="https://microsoft.github.io/PowerBI-JavaScript/demo" target="_blank"&gt;https://microsoft.github.io/PowerBI-JavaScript/demo&lt;/A&gt; and it works well. But using your html code at the end just gives a blank page, any ideas? I use clientid and clientsecret if that makes a difference&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 21:38:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/441165#M13599</guid>
      <dc:creator>azulcore</dc:creator>
      <dc:date>2018-06-15T21:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/444563#M13706</link>
      <description>&lt;P&gt;Step 4 is not working for me. I was able to get the access token in step 2 and then able to run step 3. For step 4 I entered the header information into postman under header and the data information under the body but I am getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"code": "BadRequest",&lt;BR /&gt;"message": "Bad Request",&lt;BR /&gt;"details": [&lt;BR /&gt;{&lt;BR /&gt;"message": "Unexpected character encountered while parsing number: W. Path '', line 1, position 6.",&lt;BR /&gt;"target": "request"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone else experiencing this or know of a way I can fix this? Also for reference I am doing a&amp;nbsp;&lt;SPAN&gt;server-web app and have added the client secret into the first step, not sure if I would need to add anything in this 4th step too or if there is another reason it is showing this error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 22:12:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/444563#M13706</guid>
      <dc:creator>ashleymartin</dc:creator>
      <dc:date>2018-06-20T22:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/459637#M14157</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Did you find the solution to the error you were getting in Step 4 ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 09:27:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/459637#M14157</guid>
      <dc:creator>matthewgouws</dc:creator>
      <dc:date>2018-07-11T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/459638#M14158</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Did you manage to find a solution to the error you were getting in step 4 of this guide?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 09:30:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/459638#M14158</guid>
      <dc:creator>matthewgouws</dc:creator>
      <dc:date>2018-07-11T09:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/461333#M14192</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/69118"&gt;@ashleymartin&lt;/a&gt;&amp;nbsp;The "data= {}" section of step 4 needs to be put into the "Body" tab on Postman. You can click the "raw" radio button to be able&amp;nbsp; to paste it in directly. The headers go in the headers tab as well. Other than that, make sure that the access token you have is not expired. From there, you can use the embed token where ever you deem appropriate.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 19:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/461333#M14192</guid>
      <dc:creator>zachmiller</dc:creator>
      <dc:date>2018-07-12T19:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/467761#M14377</link>
      <description>&lt;P&gt;could you please send screenshot of step no 2 in postman&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/467761#M14377</guid>
      <dc:creator>riyanka</dc:creator>
      <dc:date>2018-07-20T12:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/470929#M14453</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="postmanrequest.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/108734i5C4232DA41BAAE4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="postmanrequest.png" alt="postmanrequest.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's how Step 2 should be set up in Postman, keeping in mind that I obviously censored the 4 empty values.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 20:14:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/470929#M14453</guid>
      <dc:creator>zachmiller</dc:creator>
      <dc:date>2018-07-24T20:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/472671#M14514</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When executing the step 4 in Postman (adding the Authorization token in the headers and the Data in the body) I'm getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"error": {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"code": "",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"message": "The request entity's media type 'multipart/form-data' is not supported for this resource."&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&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="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/109172iF07C3BBD23590D6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, when running step 5 in Chrome, I get this error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GET &lt;A href="https://wabi-north-europe-redirect.analysis.windows.net/metadata/cluster" target="_blank"&gt;https://wabi-north-europe-redirect.analysis.windows.net/metadata/cluster&lt;/A&gt; 403 (Forbidden)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From step 1 to step 3 all works as described. Is someone else getting the same error message? Any ideas of how to fix it or where it should be coming from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 12:15:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/472671#M14514</guid>
      <dc:creator>aaco</dc:creator>
      <dc:date>2018-07-26T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/472728#M14516</link>
      <description>&lt;P&gt;So, I figured out that I wasn't using the Body &amp;gt; raw &amp;gt; JSON (application/json) option in Postman. Now I do it but am getting a different error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"code": "Unauthorized",&lt;BR /&gt;"message": "Report.Read.All Dataset.Read.All"&lt;BR /&gt;}&lt;BR /&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="Capture2.JPG" style="width: 583px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/109191iA05CA138F7DE5A27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For info, steps 1 to 3 are still OK and permissions on the Azure App Registration side for 'Power BI Service' are all set to 'DELEGATED' (19 in total).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 13:03:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/472728#M14516</guid>
      <dc:creator>aaco</dc:creator>
      <dc:date>2018-07-26T13:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How To: Get embed token using Get/Post only</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/476021#M14599</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/33078"&gt;@adamwallace3&lt;/a&gt;&amp;nbsp;I'm sending Post request with like in your first step. But getting this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"error": "invalid_request",&lt;BR /&gt;"error_description": "AADSTS90014: The request body must contain the following parameter: 'grant_type'.\r\&lt;BR /&gt;&lt;BR /&gt;My App type is web/api in azure . Is there a solution to fix this grant_type issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 06:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/m-p/476021#M14599</guid>
      <dc:creator>d_u_a</dc:creator>
      <dc:date>2018-07-31T06:30:47Z</dc:date>
    </item>
  </channel>
</rss>

