I have a scenario where I need to embed PowerBI dashboards that I am accomplishing by doing the following:
- Use ADAL.JS to authenticate the browser user with AD; then use an AD app to request an access token to powerbi App.
- Pass this access token to PowerBI-Javascript (powerbi.embed) and embed a given dashboard/report into my page.
All this works fine. What I am realizing is that in order for a dashboard/report to be 'embeddable' in this manner, it MUST to be shared first. Even when I am the creator/owner of a given dashboard, it will fail to show in the embed scenario unless it is first shared (with me!). Even if the App Workspace is/App is marked public, no dice.
I can live with that.
However, what I want to do is to share all such dashboards/reports that need to be embeddable with "All authenticated AD users" so that no one ever gets an access denied error as long as they can auth against AD.
Is that possible?
(Note: the only place I have seen PowerBI offer such an "Entire Organization" option is when publishing an App; but publishing an App <> sharing an App's contents! All this is all not intuitive at all!)