Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
webermi
New Member

SSO with Graph API and Power BI Embed

I'm building an Angular 2 JavaScript app with the Microsoft Graph API currently.

 

It requires that I register an Azure AD app with the following URL:

https://apps.dev.microsoft.com/#/appList

(Also see, https://github.com/microsoftgraph/angular2-connect-rest-sample)

 

I want to embed a Power BI dashboard into the web app.  It requires that I register a separate app with Azure AD using the following URL:

https://dev.powerbi.com/apps

(Also see, https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-dashboard/)

 

In order to leverage both the Graph API and Power BI Embed, I have to register two separate apps with Azure AD and the user has to login twice.

 

Is there a way I can just grant Power BI permissions to the Graph API

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@webermi wrote:

I'm building an Angular 2 JavaScript app with the Microsoft Graph API currently.

 

It requires that I register an Azure AD app with the following URL:

https://apps.dev.microsoft.com/#/appList

(Also see, https://github.com/microsoftgraph/angular2-connect-rest-sample)

 

I want to embed a Power BI dashboard into the web app.  It requires that I register a separate app with Azure AD using the following URL:

https://dev.powerbi.com/apps

(Also see, https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-dashboard/)

 

In order to leverage both the Graph API and Power BI Embed, I have to register two separate apps with Azure AD and the user has to login twice.

 

Is there a way I can just grant Power BI permissions to the Graph API


@webermi

I don't know too much about Graph API and Azure AD. Could you try to add an extra API for the Power BI registered APP in azure portal? Then I guess probably you maybe able to use a single AAD app? Since your question is actually more related to AAD, to get better repsonse, I'd suggest you post in the dedicated AAD forum.

 

Capture.PNG

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@webermi wrote:

I'm building an Angular 2 JavaScript app with the Microsoft Graph API currently.

 

It requires that I register an Azure AD app with the following URL:

https://apps.dev.microsoft.com/#/appList

(Also see, https://github.com/microsoftgraph/angular2-connect-rest-sample)

 

I want to embed a Power BI dashboard into the web app.  It requires that I register a separate app with Azure AD using the following URL:

https://dev.powerbi.com/apps

(Also see, https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-dashboard/)

 

In order to leverage both the Graph API and Power BI Embed, I have to register two separate apps with Azure AD and the user has to login twice.

 

Is there a way I can just grant Power BI permissions to the Graph API


@webermi

I don't know too much about Graph API and Azure AD. Could you try to add an extra API for the Power BI registered APP in azure portal? Then I guess probably you maybe able to use a single AAD app? Since your question is actually more related to AAD, to get better repsonse, I'd suggest you post in the dedicated AAD forum.

 

Capture.PNG

I think that's it!  I didn't see the ability to add an API.

 

Eventually, I think Power BI apps will also register in the centeralized https://apps.dev.microsoft.com.  For now, I think just create it in https://dev.powerbi.com/apps and then manage it AAD is the best route.

 

Really appreciate it, Eric!

@webermi

You're always welcome. 😉

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.