使用angular获取Power Bi访问令牌

时间:2018-07-20 19:40:57

标签: angular azure-active-directory powerbi

开发一个应用程序以使用Angluar 6嵌入Power bi仪表板。该应用程序已注册为本机应用程序。能够使用adal-angular4进行Azure Active Directory身份验证。认证后能够接收到id_token。现在使用该令牌,如何获取Power Bi“访问令牌”,以便可以嵌入仪表板。

使用以下配置

    adalConfig: {
     tenant: 'tenantId',
     clientId: 'clientId',
     loginResource: "https://analysis.windows.net/powerbi/api",
     postLougoutRedirectUri: 'http://localhost:4200'
    }

0 个答案:

没有答案
相关问题