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
Anonymous
Not applicable

Need help with Angular and AppOwnsData model

Hello, I was tasked with embedding power bi reports in an Angular 8 web app that is being developed by my company, however, I'm having trouble making sense of what I'll actually need to acomplish my task.

 

I managed to connect our app to power bi's API using msal.js library and the userOwnsData model, but what I really need is to use a service principal to acomplish the same thing to avoid logins since future users of this app shouldn't be expected to have a power bi account. Should I use msal.js on my app to authenticate it on AAD? The sample code for service principal is totally different from msal.js and it is all written in c# which im not familiar with, besides not being familiar with it im also fairly new with angular itself so I don't even know if I should "translate" the sample code to typeScript or if I can use the sample code directly in my app.

0 REPLIES 0

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.

Top Kudoed Authors