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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Powerbi and JavaScript.

Hey Guys,


I've been through almost every post via google and here.. and I am yet to see a basic implementation that hits the REST API and returns data. I am trying to avoid creating a webserver.. or using anything other than client-side code. If this required please let me know since this solution will not work for my organisation.


Here is what I am trying to do:

1) Hit the API. Using a basic API client I want to hit the API to return the embedToken and embedUrl if I can get it. If this means registering an app or getting a client_id etc... I have that already. All the example docs reference C#. That's a no-go for me.

2) If i need to authenticate using Azure AD creds, how do I use my credentials in conjuction with the REST API? (again no documentation for this.)

Can someone please shed some light on this? Need some serious help.



Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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