How to get PowerBI accesstoken using ADAL.JS
问题 I'm trying to use ADAL.js to authenticate against PowerBI in order to get an access_token and the embed_token needed to embed PowerBI reports/dashboards/tiles in a html/javascript-only "webpart". My adal-config looks like: config = { instance: 'https://login.windows.net/common/oauth2/authorize/', tenant: 'tenant.onmicrosoft.com', clientId: '05xxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx', loginResource: "https://analysis.windows.net/powerbi/api", postLogoutRedirectUri: window.location.origin,