azure - "Content not available"Power BI 嵌入带有 azure 身份验证 token 的 ionic 应用程序

标签 azure ionic-framework azure-active-directory powerbi azure-ad-msal

问题:

Power BI 报表嵌入失败并显示“内容不可用”

enter image description here

遵循流程

  1. 按照标准流程创建 Azure Directory 应用
  2. 允许用户通过 Azure 广告身份验证进行身份验证并获取 token
  3. 已创建 Power BI 工作区/报告
  4. 从 Power BI 获取报表 ID 并嵌入到代码中
  5. 通过 Azure Ad 身份验证成功登录获取的用户 accessToken

需要建议

我不确定用户、目录和 Power BI 报告是否需要映射。但登录用户也已在 power bi 的 Active Directory + 工作区中可用。

如果需要的话,如果能够一一给出精确映射和访问管理的过程,将会有很大的帮助。

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

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

最佳答案

内容显示正常,请查看here .

尝试将数据故事与报告一起提交 URL .

关于azure - "Content not available"Power BI 嵌入带有 azure 身份验证 token 的 ionic 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69824492/

相关文章:

html - 如何降低 ionic 段按钮的高度

javascript - 使用 AngularJS 获取嵌套 Json

azure - 开发人员应如何为客户设置 Azure?

c# - AADSTS50020 : We are unable to issue tokens from this api version for a Microsoft account

无需 HttpTrigger 的 Azure 持久函数调用(自动启动)

windows - Azure 负载平衡一个公共(public)端口到其他计算机上的多个内部端口

css - 如何使用 ionic 滚动并在上方固定内容

azure - Azure 中的 "Insufficient privileges to complete the operation."

azure-active-directory - 日历端点返回 OrganizationFromTenantGuidNotFound

python - Django 未将图像文件上传到 Azure 存储容器