<?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: Problem embedding report - &amp;quot;This content isn't available&amp;quot; in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354812#M10561</link>
    <description>&lt;P&gt;Thanks again for sharing what you know,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49718"&gt;@discjosh1dp&lt;/a&gt;.&amp;nbsp; I'll definitely keep you posted as to how this resolves.&amp;nbsp; I just opened a suport ticket with Microsoft yesterday because the trial and error approach is wearing&amp;nbsp;me down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My workflow is different from what you describe.&amp;nbsp; The idea is not to authenticate with a master account.&amp;nbsp; Rather, each user authenticates to our Azure AD instance as themselves, and they see whatever content they are authorized to see by virtue of the workspaces (AD groups) that they are a member of.&amp;nbsp; I don't know if that warrants an embed token or not but I'll find out from the authorities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, the link you shared in your last post&amp;nbsp;doesn't&amp;nbsp;work when I click on it but I can reach the page if I copy/paste the URL shown.&amp;nbsp; I see a trailing space in the href attribute.&amp;nbsp; Maybe that's the problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 16:20:45 GMT</pubDate>
    <dc:creator>pangelino</dc:creator>
    <dc:date>2018-02-08T16:20:45Z</dc:date>
    <item>
      <title>Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/350180#M10394</link>
      <description>&lt;P&gt;I've followed the online samples for embedding a report &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/integrate-report" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;but in the div where I try to embed the report, I see the message&amp;nbsp;"This content isn't available.&amp;nbsp; Learn more about Power BI".&amp;nbsp; In the browser console I see the message "Failed to load resource: the server wabi-us-north-central-redirect.analysis.windows.net/metadata/cluster responded with a status of 403 (Forbidden)".&amp;nbsp; I've looked at several forum posts and tried many permutations of this including &lt;A href="https://community.powerbi.com/t5/Developer/This-content-isn-t-available-after-calling-powered-embed/m-p/234190#M7375" target="_self"&gt;this&lt;/A&gt; and &lt;A href="https://community.powerbi.com/t5/Developer/Embed-group-report-problem/td-p/65374/highlight/true/page/3" target="_self"&gt;this&lt;/A&gt; but I keep getting the same error.&amp;nbsp; Please help!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 23:06:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/350180#M10394</guid>
      <dc:creator>pangelino</dc:creator>
      <dc:date>2018-02-01T23:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/351250#M10431</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/47085"&gt;@pangelino&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;Did you sign up for &lt;SPAN&gt;PowerBI&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;Can you log in into PowerBI.com and view your report?&lt;/P&gt;&lt;P&gt;Did you give your application the required permissions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some resourses that can help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 14:10:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/351250#M10431</guid>
      <dc:creator>eligr</dc:creator>
      <dc:date>2018-02-04T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/351906#M10471</link>
      <description>&lt;P&gt;Thanks for your reply,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6446"&gt;@eligr&lt;/a&gt;.&amp;nbsp; To answer your questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Yes, I have a Power BI Pro trial license.&lt;/LI&gt;&lt;LI&gt;Yes, I can log into powerbi.com and view these reports.&lt;/LI&gt;&lt;LI&gt;Yes, my appliction has been granted all the available Power BI permissions in the Azure app registration.&amp;nbsp; It also has a few of the Windows Azure Active Directory permissions.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;To provide some additional context, my application is successfully authenticating and getting access to the Power BI API after following the guidance &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/get-azuread-access-token" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; I retrieve the available groups through the API, and then retrieve all the available reports and dashboards within those groups.&amp;nbsp; My application then displays that information on a web page with the report/dashboard title hyperlinked.&amp;nbsp; The hyperlink opens a new browser window and attempts to embed the report/dashboard content using the powerbi.embed function and the embed URL retrieved from the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing that is confusing to me is that I keep coming across references to embed tokens, but it's not clear to me under what use cases I have to use an embed token.&amp;nbsp; The embed samples that I referenced in my original post do not use an embed token.&amp;nbsp; I looked at the troubleshooting page that you referenced in your reply, but none of that seems very applicable since all of my API calls are succeeding in the C# code.&amp;nbsp; It's only in the powerbi.embed call that I have a problem.&amp;nbsp; What can you recommend to debug this further?&amp;nbsp; Thanks again for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 19:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/351906#M10471</guid>
      <dc:creator>pangelino</dc:creator>
      <dc:date>2018-02-05T19:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/352598#M10501</link>
      <description>&lt;P&gt;Having recently waded through this labyrinth of configuration, I'll share the parts I got stuck on in hopes that they help you find your solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- embed tokens are only required if you're using the Premium capacity approach.&amp;nbsp; Premium capacity is required if your end-users (that is to say, the people viewing your embedded content) do not have Power BI Pro licenses and are not a part of the Power BI Workspace that is hosting your datasets, reports, dashboards, etc.&amp;nbsp; If your users have their own Pro licenses (sometimes the case if you're sharing internal&amp;nbsp;data with colleagues) and are a member of the source Workspace, you won't need an embed token - JUST your access token.&amp;nbsp; (It sounds like you're up to speed on access tokens, but let me know if I can expand on those.)&lt;BR /&gt;&lt;BR /&gt;- the bug that plagued me right up until I got embeds working was the TYPE of authentication I was specifying in my request.&amp;nbsp; I'm taking the Javascript route, but you should be able to figure out what the C# equivalent is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;                var models = window['powerbi-client'].models;
            
                var config = {
                    type: 'report',
                    tokenType: models.TokenType.Aad,
                    accessToken: accessToken,
                    embedUrl: reportEmbedUrl, 
                    viewMode: models.ViewMode.View,
                    id: reportId,	
                    
                };&lt;/PRE&gt;&lt;P&gt;Every example I found here and elsewhere on the internet was using "tokenType: models.TokenType.Embed" - which is intended for use with the method I described above.&amp;nbsp; I was using the Active Directory Authentication Library (adal.js) approach, which checks the user's browser for existing AD sessions (recommended for the end-user-has-Pro-license approach).&amp;nbsp; When I finally tried dumping "models" to output and saw the parameters model.TokenType accepts, it all came together.&lt;BR /&gt;&lt;BR /&gt;Happy to share my working code if you think it will be of use, but hopefully the above will get you started toward the right solution.&amp;nbsp; Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/352598#M10501</guid>
      <dc:creator>discjosh1dp</dc:creator>
      <dc:date>2018-02-06T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/352929#M10508</link>
      <description>&lt;P&gt;Thanks for your reply,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49718"&gt;@discjosh1dp&lt;/a&gt;!&amp;nbsp; To clarify, users of my application typically will NOT have Power BI Pro licenses, but will be members of the workspace(s) in question.&amp;nbsp; Based on your understanding, does that mean I need to use embed tokens or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your code sample,&amp;nbsp;agreed&amp;nbsp;that every sample I had seen previously specified&amp;nbsp;&lt;SPAN&gt;models.TokenType.Embed even when they made no mention of using embed tokens.&amp;nbsp; Unfortunately, switching to&amp;nbsp;&lt;/SPAN&gt;models.TokenType.Aad made no difference for me.&amp;nbsp; Note that even though I am using C# to retrieve available workspaces and report/dashboard information from the Power BI API, I'm still using JavaScript for the embedding.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 23:00:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/352929#M10508</guid>
      <dc:creator>pangelino</dc:creator>
      <dc:date>2018-02-06T23:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354792#M10557</link>
      <description>&lt;P&gt;Gotcha - if you're using a single "master" account to authenticate your application (i.e. not going the adal.js route described above), then yep, you should be requesting an embed token, and "models.TokenType.Embed" is the correct setting.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An embed token is, as you've surmised, distinct and separate from the authentication token you've already acquired.&amp;nbsp; In short, the authentication token describes what you have permission to see, while the embed token grants specific permission to load content you can see outside of the Power BI application.&lt;BR /&gt;&lt;BR /&gt;Had to dig a while to find this, but specific requests and call parameters for each type of embed token are documented here:&lt;A href="https://msdn.microsoft.com/en-us/library/mt784614.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/mt784614.aspx&lt;/A&gt; (it was last updated in October 2017, so it should still be accurate).&lt;BR /&gt;&lt;BR /&gt;Full disclosure: my team hasn't tried this approach yet (we'll likely shift to it in the coming months, hence my interest in your question).&amp;nbsp; Let me know if it works?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 17:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354792#M10557</guid>
      <dc:creator>discjosh1dp</dc:creator>
      <dc:date>2018-02-08T17:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354812#M10561</link>
      <description>&lt;P&gt;Thanks again for sharing what you know,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/49718"&gt;@discjosh1dp&lt;/a&gt;.&amp;nbsp; I'll definitely keep you posted as to how this resolves.&amp;nbsp; I just opened a suport ticket with Microsoft yesterday because the trial and error approach is wearing&amp;nbsp;me down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My workflow is different from what you describe.&amp;nbsp; The idea is not to authenticate with a master account.&amp;nbsp; Rather, each user authenticates to our Azure AD instance as themselves, and they see whatever content they are authorized to see by virtue of the workspaces (AD groups) that they are a member of.&amp;nbsp; I don't know if that warrants an embed token or not but I'll find out from the authorities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, the link you shared in your last post&amp;nbsp;doesn't&amp;nbsp;work when I click on it but I can reach the page if I copy/paste the URL shown.&amp;nbsp; I see a trailing space in the href attribute.&amp;nbsp; Maybe that's the problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:20:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354812#M10561</guid>
      <dc:creator>pangelino</dc:creator>
      <dc:date>2018-02-08T16:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354887#M10567</link>
      <description>&lt;P&gt;Good catch on the link above - just fixed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for elaborating on your setup. Just a heads up: I've been told by MS representatives as recently as two weeks ago that the model you describe (Power BI free users being able to view content embedded in a third-party app) is being phased out and will stop working entirely sometime in mid-2018. The closest evidence I can find to support this in the MS documentation is here, under "Share content with Power BI FREE users outside PowerBI.com and embed in other SaaS applications": &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-faq" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded-faq&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, since this is an ongoing change, it's possible you may get a different answer (in fact, I received a couple of conflicting reports before we finally found a method that worked for us). If they confirm the above, let me know and I'll share how we addressed the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 18:02:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/354887#M10567</guid>
      <dc:creator>discjosh1dp</dc:creator>
      <dc:date>2018-02-08T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/378021#M11249</link>
      <description>&lt;P&gt;I'm going to wrap this up by clarifying my use case and explaining what I did to work around my issue.&amp;nbsp; First of all, I'm following the "User Owns Data" scenario, or "embedding for your organization" depending on what documentation you're looking at.&amp;nbsp; The goal is not to use a master account to authenticate, but rather for the end user to authenticate with his/her account and then be presented with the content that they are authorized to view.&amp;nbsp; I'm building a&amp;nbsp;custom portal to improve upon the user experience provided by powerbi.com, and adding metadata features in the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main factor with my issue turned out to be the fact that I was&amp;nbsp;opening a new browser window in order to display the embedded report/dashboard.&amp;nbsp; I never discovered why that poses a problem, but I have successfully worked around the issue by instead displaying the embedded content in an overlay that takes up the full browser window.&amp;nbsp; The only properties that I need to pass into the config object to the powerbi.embed function are type, accessToken, and embedUrl.&amp;nbsp; I don't have to deal with embed tokens at all to make this work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will also mention that I had a very frustrating experience dealing with Microsoft tech support on this issue, so I'm happy to clarify anything about my solution for people that might stumble upon this post.&amp;nbsp; I&amp;nbsp;opened a support incident through my MSDN account, and ended up spending many hours over the course of several weeks providing diagnostic information to the Power BI product team.&amp;nbsp; They really never did anything for me except ask me to jump through lots of hoops, which I did,&amp;nbsp;and it never got me an answer to my question about why&amp;nbsp;I got an error when embedding&amp;nbsp;the content in a new browser window.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 21:59:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/378021#M11249</guid>
      <dc:creator>pangelino</dc:creator>
      <dc:date>2018-03-16T21:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/425988#M12883</link>
      <description>&lt;P&gt;I got the error because I referenced the power bi java script library twice:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was enough:&lt;/P&gt;&lt;DIV&gt;&amp;lt;script src="&lt;A href="https://community.fabric.microsoft.com/" target="_blank"&gt;https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"&amp;gt;&amp;lt;/script&lt;/A&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;script src="&lt;A href="https://community.fabric.microsoft.com/" target="_blank"&gt;https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"&amp;gt;&amp;lt;/script&lt;/A&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This one screwed it up:&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;script src="scripts/powerbi.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 26 May 2018 22:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/425988#M12883</guid>
      <dc:creator>Flem100</dc:creator>
      <dc:date>2018-05-26T22:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/487333#M14938</link>
      <description>&lt;P&gt;Just letting people know I got this error when my report ID for one request did not match the report ID I had used to acquire the report embed token in another request. Making sure the ID values were the same got rid of the error.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 22:28:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/487333#M14938</guid>
      <dc:creator>sdaviesnz</dc:creator>
      <dc:date>2018-08-12T22:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem embedding report - "This content isn't available"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/2110851#M32187</link>
      <description>&lt;P&gt;Thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 14:00:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-embedding-report-quot-This-content-isn-t-available-quot/m-p/2110851#M32187</guid>
      <dc:creator>fullstack-dev</dc:creator>
      <dc:date>2021-10-01T14:00:30Z</dc:date>
    </item>
  </channel>
</rss>

