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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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