"Content not available" Power BI embed in ionic app with azure authentication token

Viewed 204

Problem:

Power BI report embedding fail and showing "content not available".

enter image description here

Process Followed

  1. Create Azure Directory app as per standard process
  2. Allow user to authenticate from Azure ad authentication and get token
  3. Power BI workspace created / report as well
  4. Get Report Id from Power BI and embed into code
  5. User accessToken got from Azure Ad authentication successful login

Suggestions Needed

I am not sure mapping needed for User, directory and power BI reports. but user for login is already available in active directory + workspace of power bi as well.

It will be great help if one by one process given for exact mapping and access management if required.

const config = {
      type: 'report',
      accessToken,
      embedUrl,
      id: embedReportId,
      settings: {
        filterPaneEnabled: true,
        navContentPaneEnabled: true
      }
    };

var report = powerbi.embed(reportContainer, config);

1 Answers

Content is displaying properly, please take a look into here.

Try to submit the data story with your report URL.

Related