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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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