An Azure service that provides an event-driven serverless compute platform.
Hi Martin,
Based on the currently documented Fabric capabilities, I don’t see a supported in-Fabric backend option that solves this exact scenario today.
Service-principal authentication is supported for Fabric Data Agents, but the client-credentials flow requires a client secret/credential. That credential should not be placed in a React SPA, so the Data Agent call needs to run from a trusted server-side component. Your local middleware is effectively providing that missing backend.
The “Functions are not supported yet” response you are receiving also appears consistent with the capability not currently being available rather than a rayfin CLI configuration problem.
For production, I would therefore use an external backend such as Azure Functions or another server-side service to hold the service-principal credential and proxy the Data Agent calls.
Regarding an ETA for Fabric App functions/in-Fabric backend compute, I could not find a publicly committed Microsoft release date. I would not design around an assumed timeline until Microsoft publishes it on the Fabric roadmap.
Thank you, and feel free to respond back for more assistance.