Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |