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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.