Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
In the Power BI Website, I made an API for GraphQL (The new preview) and connected it to a Lakehouse. Then following these instructions: https://learn.microsoft.com/en-us/fabric/data-engineering/connect-apps-api-graphql I made an Entra app and REACT app. When I run the REACT app, it launches, lets me log in, and then gives a 400 error when I click the query button.
My API and Lakehouse are in the same workspace, I turned on all the permissions from the tutorial, and I am running the REACT app from Visual Studio Code 2022. I have also tried connecting to the API via Postman and different Python libraries such as requests and MSAL. They all run, authenticate via a code/login and then either hit a 400 error or it times out.
Hi @chaitanyatrived ,
Based on the description, try to verify that adding sign in and sign out functional components in a React app.
Besides, try to check that calling the Graph API from the application.
Viewing the following documents to learn more information.
Tutorial: Call an API from a React single-page app - Microsoft identity platform | Microsoft Learn
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I want to try connecting applications to Fabric API for GraphQL. I'm unsure if the account used to create a GraphQL API in Fabric has to be the same as the Azure account used to create Microsoft Entra?
Hey, thanks for the input! I have already added that functionality using the same tutorials unfortunately. The sign in works great every time and it logs me in. Hoever, after signing in, I will click on the Query button which causes the page to freeze and a 400 error when I check page logs through inspect element
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 13 | |
| 10 | |
| 7 | |
| 7 |