Skip to content

PowerBI embed reports using nodeJS as back-end and angular2 as front-end. Doing authentication using power bi and Azure AD service account.

Notifications You must be signed in to change notification settings

tusharbudhe0302/powerbiembed-mean-stack-ng2

Repository files navigation

Power BI Embed using MEAN stack and angular2

PowerBI embed reports using nodeJS as back-end and angular2 as front-end. It's doing authentication using Azure AD account.

MEAN Stack Prerequisites

Express.js: http://expressjs.com/

Angular 2: http://angular.io

Node.js: https://nodejs.org

Set up.

Make sure you have angular cli installed.

$ npm install -g angular-cli

Clone the repo

$ git clone https://github.com/tusharbudhe0302/powerbiembed-mean-stack-ng2.git
$ cd powerbiembed-mean-stack-ng2

Install dependencies

$ npm install
  • Go to directory Server --> Config --> Edit app.config.js
    • username Username Azure
    • password Password Azure
    • clientId Applicaton ID of app registered via Azure Active Directory - stored in config
    • dashboardId Dashbord ID for embedded reports
    • groupId Group ID for embedded reports
    • azureADAurthUrl URL for Azure AD user authentication
    • reportsUrl URL for genrate embedded token

How to get all above ?

Javascript Dveloper

Stack Overflow

Start API

$ npm run startapi

Run the app

$ npm start

If you got saas or css exception.Please execute below command and Run the app again.

$ npm run nodesaas

About

PowerBI embed reports using nodeJS as back-end and angular2 as front-end. Doing authentication using power bi and Azure AD service account.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published