This sample is an Angular application that uses Power BI embedding to embed a report.
For the sample to run and render the report, there needs to be an Azure.
Running instructions:
- Replace the reportId, applicationId, username and password variables in
auth-settings.ts
with your specific username, password, application and report ids. - The proxy.conf.json and angular.json files are already preconfigured thereby taking out the CORS error. Run
npm run start
to start the application.
- https://github.com/microsoft/PowerBI-Developer-Samples
- https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/embed-report
- https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers
- https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/configure-report-settings