Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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