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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.