Hello Peter Ott,
Thank you for posting your question on Microsoft Q&A.
The "401 Client Error: Unauthorized" you're seeing with the Fabric GraphQL API suggests an issue with authentication. This usually means the application you're using does not have the correct permissions, or its authentication token is invalid or missing.
It's also worth checking if your application has been registered in Microsoft Entra ID with the required permissions, such as GraphQLApi.Execute.All, and if you can confirm the token is being acquired successfully before you make the GraphQL request.
Please note that Microsoft Q&A does not currently have dedicated support for Fabric-related issues. For more specialized help, you may find a better resolution by posting your question in the official Microsoft Fabric community, where there are ongoing discussions on these topics.
You can find the community here: https://community.fabric.microsoft.com/t5/Power-BI-forums/ct-p/powerbi
Checking these authentication and permission steps often resolves 401 errors with Fabric GraphQL API calls. We appreciate you reaching out.
If this answers your query, do click "Accept Answer"andYes` for was this answer helpful.
Thanks
Pratyush