Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
The documentation about the Graph API in Fabric only contains an example in react using MSAL.
(https://learn.microsoft.com/en-us/fabric/data-engineering/connect-apps-api-graphql)
This includes a manual process because the APP authenticates the end user and it seems to be using the end user permissions to get to the graph API.
Is there a way to do this without the manual step? How to obtain a token for an App Registration, for example?
I tried to reproduce this in Postman, but I couldn't achieve any good result.
Is there any example of reproducing this in postmand using an app registration authentication to get the token?
Kind Regards,
Dennes
Hi @DennesTorres,
As the document said, currently API for GraphQL requires applications to use Microsoft Entra for authentication. Your application needs to be registered and configured adequately to perform API calls against Fabric.
Create a Microsoft Entra ID app - Microsoft Fabric REST APIs | Microsoft Learn
In addition, it seems like current GraphQL API does not support service principal authorization. Perhaps You can try to submit an idea for add service principal support on this.
Regards,
Xiaoxin Sheng
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 12 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |