Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
Has anyone tried to use their fabric api for graphql in the azure API management service? Any help would be great, thanks.
Hi @clearyj3 ,
You can use the Fabric GraphQL API with Azure API Management Services.
Here are the easy-to-follow steps:
You can find the steps and more information on how to do this in the following documentation:
Connect applications to Fabric API for GraphQL - Microsoft Fabric | Microsoft Learn
Add a GraphQL API to Azure API Management | Microsoft Learn
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi Yang,
I've managed to complete everything except the final step. The GraphQL schema generated by Fabric's API isn't being parsed correctly by our API management services, leading to numerous type errors when I try to upload the .graphql file. Do you have any suggestions? Thanks!
It sounds like you're encountering schema parsing issues in Azure API Management when uploading the .graphql file generated by the Fabric GraphQL API. This could be due to discrepancies in how the schema is structured or the types defined by Fabric's API.
Here are a few steps you can take to troubleshoot and resolve the issue:
- validate the scheme using an online GraphQL schema validator (e.g., GraphQL Schema Linter) to check for issues in the .graphql file. Look for undefined or incorrectly formatted types, directives, or fields that might not conform to the GraphQL specification.
- if the schema is large or complex, try splitting it into smaller chunks to isolate the problematic types. Test importing a simplified schema into Azure API Management to identify which part is causing the error.
- sometimes, the auto-generated schema might include custom types or directives not supported by Azure API Management. Edit the .graphql file to remove or adjust these unsupported elements.
- ensure your Azure API Management instance supports all GraphQL features used in the schema. Refer to the Azure API Management GraphQL documentation to check for feature compatibility.
- try turning on detailed logging in Azure API Management to capture error details when the schema upload fails. This can provide insights into specific issues.
- if the above steps don't resolve the issue, it might be worth contacting Microsoft support with the schema file and error details for further assistance.
If this post helps you resolve the issue, please consider accepting it as the solution to help other members find it more quickly. If I’ve misunderstood your needs or you still have additional questions, feel free to let me know, and I’ll be happy to assist further. Thanks a lot!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
Check out the November 2024 Fabric update to learn about new features.
User | Count |
---|---|
7 | |
7 | |
5 | |
4 | |
1 |
User | Count |
---|---|
17 | |
13 | |
12 | |
8 | |
6 |