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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Employee
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
Employee
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.