THRSP1085 · Theater
Go from idea to governed AI app with Replit and Microsoft Fabric
Speakers: Paulo Bocanegra
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
A Replit field engineer shows how the Microsoft Fabric app template in Replit, built on the Rayfin SDK/CLI, turns a natural-language prompt into a store-sales dashboard on top of an existing Fabric semantic model. He explains the one-time admin setup of the Fabric connector (Azure app registration, scopes, capacity ID, tenant ID) and the permissions builders need. The app reads from semantic models via DAX and React hooks and cannot write back to them; for write-back, Rayfin provisions a project-scoped SQL database in the same Fabric workspace. Publishing runs security checks with configurable severity gating, deploys via 'rayfin up', and leaves access control in Fabric and Entra ID groups. Copilot comes up only briefly: Copilot is positioned for technical teams using the Rayfin CLI, and Replit for non-technical domain experts.
Best for: Fabric and data platform admins, and citizen-developer program owners, who want to know how Replit-built apps are deployed and governed in Fabric.
New material starts at 02:50. The first part introduces Replit and the demo scenario; at 02:50 the Microsoft Fabric app template in Replit is introduced and the build starts.
Where to skip: Skip to 02:50. The connector setup and permissions at 04:13, the runtime architecture at 09:28 and the publish flow with security gating at 14:44 are the core. The adoption guidance at 12:02 and the closing at 18:44 can be skipped.
Chapters (8)
- 00:01 Recap Depth 100 · Novelty 1/3
Replit intro and the store-sales scenario on Microsoft Fabric
A Replit field engineer introduces Replit as an AI-powered software creation platform whose mission is to empower the next billion software creators by letting domain experts build software in natural language. He lists the enterprise pieces Replit adds on top of code generation: security, governance controls, one-click connections to over 500 integrations, and built-in infrastructure and deployment. He then sets up the demo scenario: a sales leader whose store sales data and semantic model already live in Fabric, with access governed by Azure and Fabric permissions.
- 02:50 New Depth 200 · Novelty 2/3
New Microsoft Fabric app template in Replit: one-shot dashboard from a semantic model
The speaker introduces the Microsoft Fabric app template in Replit, released on the Monday of Ignite week and available to Enterprise plan customers; under the hood it uses Rayfin to deploy a Fabric application. He pastes the semantic model URL into Replit, selects the template and enters a one-shot prompt to create a store-sales dashboard. Replit Agent starts building with the Rayfin CLI under the hood.
- 04:13 Deep dive Depth 300 · Novelty 2/3
Fabric connector setup: app registration, scopes, capacity ID, permissions and collaboration
The template configures the project to use the Rayfin backend and includes skills for configuration and deployment. A Replit admin does a one-time setup of the Fabric integration: an Azure app registration with a client secret, scopes, the Fabric capacity ID that provides runtime compute, and the tenant ID. The Rayfin CLI provisions the Fabric workspace, assigns the capacity, reads the semantic model schema and generates DAX queries. Builders need at least view and build access to the semantic model, or the contributor role on the workspace. They can invite teammates or Entra ID groups to the shared Replit project.
- 06:38 Demo Depth 300 · Novelty 2/3
Iterating the dashboard: read-only semantic model, write-back via project-scoped SQL database
The speaker opens a prebuilt version of the dashboard, which is a static React app that is published to Fabric through the Rayfin CLI with a Publish button. He asks the agent to add store notes backed by a SQL database. By design the app can only read from semantic models and cannot write back to them, because Fabric is the source of truth. For stateful needs, Rayfin can spin up a project-scoped SQL database in the same Fabric workspace for full CRUD, which also enables full-stack apps built entirely in Replit and deployed to Fabric.
- 09:28 Deep dive Depth 300 · Novelty 2/3
Runtime architecture: DAX via React hooks, Fabric capacity compute, Entra-based access, OneLake
The speaker names the three supported use cases: semantic-model apps, full-stack apps, and the hybrid of reading from semantic models while writing to a project-scoped SQL database, which he is building in this demo. After a one-click deployment, the static React app uses React hooks to send DAX queries to the semantic model, and production compute comes from the Fabric capacity configured in the Replit integration. End users open the app directly in Fabric, with access based on their Azure (Entra) groups. Fabric is the production source of truth and Replit is used for development. The SQL database in Fabric includes a SQL analytics endpoint that brings the data into OneLake for visibility.
- 12:02 Deep dive Depth 200 · Novelty 1/3
Adoption guidance, Copilot vs. Replit roles, and Fabric governance enforcement
While the agent finishes building, the speaker recommends a path for first projects: pick a business question and an existing semantic model, agree on access with the team, build a read-heavy app, then add a SQL database for CRUD, and later build full-stack apps. He positions the partnership this way: Copilot helps technical teams build and deploy with the Rayfin CLI, while Replit lets non-technical domain experts get the same results in natural language. Fabric governance is enforced: builders sign in with Fabric, and collaborators without view or build rights get an unauthorized error in the UI.
- 14:44 Demo Depth 300 · Novelty 2/3
Publishing to Fabric: provisioning, security checks, rayfin up, Rayfin functions, access
The speaker adds a note to a store in the finished app, then clicks Publish and follows the progress. A Fabric workspace, an app item and a Microsoft SQL database are provisioned. Security checks scan for plain-text credentials and vulnerable dependencies, and admins can configure the workspace to block publishing at critical, high, medium or low severity; users can then fix the issues with the agent. The build runs through the 'rayfin up' CLI command, the app opens at a Fabric URL, and the workspace contains the app item, the SQL database and the newly introduced Rayfin functions for calls to external services. Access is managed in Fabric, including through Entra ID groups.
- 18:44 Closing Depth 100 · Novelty 0/3
Closing: Replit enterprise resources, Microsoft partnership page and booth
The speaker sums up the session as showing how a Fabric application can be built in Replit with natural language. He points to replit.com/enterprise for a full demo, replit.com/partners/microsoft for the joint work with Microsoft, and booth 5515 in the hub. He offers to answer questions after the session.
Announcements (3)
-
Microsoft Fabric app template in Replit
A Replit project template that uses Rayfin under the hood to build and deploy a Fabric application from natural-language prompts.
Monday (Ignite week) · Replit Enterprise plan
Speaker’s quote (at 02:50)
„This is what we released as of Monday, which if you are an enterprise plan, now you have access to this template that will be using riffing under the hood“
-
Project-scoped SQL database for Replit-built Fabric apps
Rayfin provisions a SQL database scoped to the project in the same Fabric workspace, enabling full CRUD operations and full-stack apps.
Speaker’s quote (at 08:31)
„using Rafian, we can spin up a project scope SQL database and deploy to the same Fabric workspace that this application is deployed to“
-
Rayfin functions
Functions deployed with the Fabric app to call external services outside Fabric or to trigger actions.
Speaker’s quote (at 18:05)
„we have introduced, thanks to the new power of rafing, with rafing functions in case you need to make requests to external services that are not within Fabric“
Demos (4)
-
A sales leader creates a store-sales tracking dashboard on top of an existing Fabric semantic model without writing code.
Steps (5)
- Copy the URL of the existing semantic model in Fabric.
- In Replit, select the Microsoft Fabric app template.
- Paste the semantic model URL into the prompt.
- Describe the app, either with a detailed feature list or with a broad one-shot prompt, and start the build.
- Replit Agent builds the app using the Rayfin CLI under the hood.
Prerequisites: Replit Enterprise plan; an existing semantic model in Fabric; a Fabric connector configured by the Replit admin.
-
A Replit admin configures the Fabric connector once so builders can create Fabric apps, and the builder shares the project with teammates.
Steps (6)
- In Azure, create an app registration and a client secret.
- In the Replit workspace, open Integrations and go to the Your Integrations tab.
- Search for Fabric and open the Fabric integration.
- Enter the client ID and client secret, and set the required scopes.
- Enter the capacity ID of the Fabric capacity that will run the app, and the tenant ID.
- In the project, invite collaborators by adding an Entra ID–mapped group or individual users by email.
Prerequisites: Replit admin rights; an Azure app registration with a client secret; a Fabric capacity ID and tenant ID; view and build access to the semantic model, or the contributor role on the Fabric workspace.
-
Extend the store dashboard so users can leave notes on each store, stored in a project-scoped SQL database.
Steps (4)
- Open the already built dashboard project in Replit (it has a dashboard, a store page and dark mode).
- Ask Replit Agent to add store notes backed by the project's SQL database.
- Confirm the agent's request to enable the SQL database by clicking Continue.
- Let the agent design the schema for the notes entity.
Prerequisites: A Replit project created from the Microsoft Fabric app template, with the Fabric connector configured.
-
Publish the Replit-built store dashboard with notes to Fabric as a governed app with security gating, and share it with the team.
Steps (6)
- In the built app, open a store and add a note (e.g. a follow-up with the store manager).
- Click the Publish button in the top right, then click Publish again.
- Open See progress to watch the Fabric workspace, app item and SQL database being provisioned.
- Let the security checks scan for plain-text passwords and vulnerable dependencies; if publishing is blocked, fix the issues with the agent.
- Wait for the build, which runs 'rayfin up', and open the published Fabric URL.
- In the Fabric workspace, review the app item, the SQL database and the Rayfin functions, and grant access to teammates or Entra ID groups.
Prerequisites: A configured Fabric connector with a capacity ID; Fabric permissions for the builder; optional workspace settings for vulnerability thresholds that block publishing.