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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
prasadt
New Member

Integrate a report into an app for your organization(user owns data) - Get access token without GUI

Hi Team,

 

I am working on "Power BI Embedding - Integrate a report into an app for your organization (user owns data)" apporach.

I downloaded the sample code provided and followed the instructions mentioned here ( https://docs.microsoft.com/en-us/power-bi/developer/integrate-report) and I could able to run the application and it is redirected to get an access token from Azure AD ( I use my Pro licence account to sign in) and return with access code and rendered the report without any issues.

I am looking to integrate power bi report into my custom application and I don't want the user who signed in my application needs to login in azure AD explicitley for seeing the power bi report. But I wish to get access token in the background as I can able to pass the credential for which the user has access to the report ( Pro user account)

Can you please tell me if you know the way to implement this?

 

Thanks in advance.

 

Regards,

Prasad

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi Prasad,

 

The "app owns data" embed mode could be the solution of your scenario. Please refer to embed-sample-for-customers and get-azuread-access-token#access-token-for-non-power-bi-users-app-owns-data

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.